=== added file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.urlencode.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.urlencode.js 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.urlencode.js 2010-09-17 16:11:27 +0000 @@ -0,0 +1,11 @@ +$.extend({URLEncode:function(c){var o='';var x=0;c=c.toString();var r=/(^[a-zA-Z0-9_.]*)/; + while(x1 && m[1]!=''){o+=m[1];x+=m[1].length; + }else{if(c[x]==' ')o+='+';else{var d=c.charCodeAt(x);var h=d.toString(16); + o+='%'+(h.length<2?'0':'')+h.toUpperCase();}x++;}}return o;}, +URLDecode:function(s){var o=s;var binVal,t;var r=/(%[^%]{2})/; + while((m=r.exec(o))!=null && m.length>1 && m[1]!=''){b=parseInt(m[1].substr(1),16); + t=String.fromCharCode(b);o=o.replace(m[1],t);}return o;} +}); + + === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2010-09-14 09:03:41 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2010-09-17 16:11:27 +0000 @@ -22,6 +22,7 @@ + === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/popup.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/popup.vm 2010-03-08 14:50:40 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/popup.vm 2010-09-17 16:11:27 +0000 @@ -8,9 +8,11 @@ - - - + + + + + #foreach( $javascript in $javascripts )