rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden=fu...
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=x(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden=fu...
"undefined"?a.charCode:0)>0||g.isIE?true:g.isOpera?a.keyCode==13||a.keyCode==27||a.keyCode>=32&&a.keyCode<125:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidden=fu...
"undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;...
"undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=v(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;...
"undefined"?a.charCode:0)>0||h.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var X=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return X.test(a)?parseFloat(a):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;...
if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidd...
function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?g.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=fu...
if(a.altKey||a.ctrlKey||a.metaKey)return false;return(typeof a.charCode!=="undefined"?a.charCode:0)>0||g.isIE?true:a.keyCode==13||a.keyCode==27||a.keyCode==32||a.keyCode>46&&a.keyCode<112};var Z=/^-?\d+(?:px)?$/i;this.px=function(a,b){a=w(a,b);if(a=="auto"||a==null)return 0;return Z.test(a)?parseFloat(a):0};this.isHidd...
2?a[1]:"0")?parseFloat(f):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?k.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2...
"none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?k.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2?a[1]:"0")?parseFloat(a):0};this.pctself=function(a,b){a=a.style[b];if(a=="...
2?a[1]:"0")?parseFloat(f):0};this.isHidden=function(a){if(a.style.display=="none")return true;else{a=a.parentNode;return a!=null&&a.tagName.toLowerCase()!="body"?k.isHidden(a):false}};this.pxself=function(a,b){a=a.style[b];if(a=="auto"||a==null)return 0;return(a=(a=/^\s*(-?\d+(?:\.\d+)?)\s*px\s*$/.exec(a))&&a.length==2...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
a.getElement(s).dirty=true;window.onresize()}function h(){var e,k=0;for(e=0;;++e){var m=c(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=c(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=c(k);var n=o(e,k),r=c(k+1),u=o(r,k+1);if(a.pctself(e,"width")>0&&a...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
a.getElement(s).dirty=true;window.onresize()}function g(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
a.getElement(s).dirty=true;window.onresize()}function f(){var e,k=0;for(e=0;;++e){var m=b(e);if(m)k+=a.pctself(m,"width");else break}if(k!=0)for(e=0;;++e)if(m=b(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/k+"%"}else break}function q(e,k,m){e=b(k);var n=p(e,k),r=b(k+1),u=p(r,k+1);if(a.pctself(e,"width")>0&&a...
ia>g.updateDelay){clearTimeout(S);s()}}function q(d){ea=d;E._p_.comm.responseReceived(d)}function s(){S=null;if(R){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}else{var d,c,f,k="&rand="+Math.round(Math.random(ka)*1E5);if(z.length>0){d=h();c=d.fee...
ia>g.updateDelay){clearTimeout(S);s()}}function q(d){ea=d;E._p_.comm.responseReceived(d)}function s(){if(!J){S=null;if(R){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}else{var d,c,f,k="&rand="+Math.round(Math.random(ka)*1E5);if(z.length>0){d=h();...
ia>g.updateDelay){clearTimeout(S);s()}}function q(d){ea=d;E._p_.comm.responseReceived(d)}function s(){S=null;if(R){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}else{var d,c,f,k="&rand="+Math.round(Math.random(ka)*1E5);if(z.length>0){d=h();c=d.fee...
setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function J(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined...
setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function K(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined...
setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},m=g.getElement(d);m.timer=setTimeout(k,c);m.tm=k}function J(d,c){setTimeout(function(){if(T[d]===true)c();else T[d]=c},20)}function F(d){if(T[d]!==true){typeof T[d]!=="undefined"&&T[d]();T[d]=true}}function Q(d,c,f){function k(){var t=f===undefined...
if(!F){_$_$endif_$_();var m={},i=y.length;m.object=c;m.signal=d;m.event=e;m.feedback=j;y[i]=g(m,i);q();n();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function q(){_$_$if_WEB_SOCKETS_$_();if(I.state!=2)if(window.WebSocket===undefined)I.state=2;else{var c=I.socket;if(c==null||c.readyState>1)if(c!=null&&I.state...
P=F=null;R||r()}function u(c,d,e,j){h.checkReleaseCapture(c,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!F){_$_$endif_$_();var m={},i=y.length;m.object=c;m.signal=d;m.event=e;m.feedback=j;y[i]=g(m,i);q();n();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function q(){_$_$if_WEB_SOCKETS_$_();if(I.state!=2)if(typ...
if(!F){_$_$endif_$_();var m={},i=y.length;m.object=c;m.signal=d;m.event=e;m.feedback=j;y[i]=g(m,i);q();n();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function q(){_$_$if_WEB_SOCKETS_$_();if(I.state!=2)if(window.WebSocket===undefined)I.state=2;else{var c=I.socket;if(c==null||c.readyState>1)if(c!=null&&I.state...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,h,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
null){try{aa()}catch(c){}aa=null}}function K(){document.body.style.cursor="wait";aa=hideLoadingIndicator;showLoadingIndicator()}function u(d){ga=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,f){if(!Q){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$...
d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function C(d,c,f){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_$endif_$_();f&&...
null){try{aa()}catch(c){}aa=null}}function K(){document.body.style.cursor="wait";aa=hideLoadingIndicator;showLoadingIndicator()}function u(d){ga=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,f){if(!Q){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$...
showLoadingIndicator()}function E(d){ea=d}function q(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.co...
showLoadingIndicator()}function E(d){ea=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.code+", descrip...
showLoadingIndicator()}function E(d){ea=d}function q(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.co...
C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa...
function j(){if(C!=null&&K!=null){clearTimeout(K);C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){...
C.abort();C=null}if(C==null)if(M==null){M=setTimeout(function(){q()},p.updateDelay);da=(new Date).getTime()}else if(S){clearTimeout(M);q()}else if((new Date).getTime()-da>p.updateDelay){clearTimeout(M);q()}}function o(c){Y=c;ea._p_.comm.responseReceived(c)}function q(){M=null;if(p.isIEMobile)feedback=false;if(X){if(!fa...
f.length;o<s;o++){i=f[o];e+="<Value>"+C(i)+"</Value>"}else e+=C(f);e+="</"+g+">"}e+="\n"+c+" </"+b+">"}e+="\n"+c+"</"+a+">";return e}var E="RequestType";function Q(a){var b="",d=a.method;b+="\n<"+n+":Envelope "+F+" "+x+">\n <"+n+":Body>\n <"+d+" "+G+" "+x+">";var c=null;switch(d){case Xmla.METHOD_DISCOVER:if(j(a.reque...
d[i];k+="\n"+c+" <"+i+">";if(typeof n==="array"){h=0;for(e=n.length;h<e;h+=1){f=n[h];k+="<Value>"+B(f)+"</Value>"}}else k+=B(n);k+="</"+i+">"}k+="\n"+c+" </"+b+">"}k+="\n"+c+"</"+a+">";return k}var D="RequestType";function Q(a){var b="",d=a.method,c=null;b+="\n<"+p+":Envelope "+E+" "+w+">\n <"+p+":Body>\n <"+d+" "+F+...
f.length;o<s;o++){i=f[o];e+="<Value>"+C(i)+"</Value>"}else e+=C(f);e+="</"+g+">"}e+="\n"+c+" </"+b+">"}e+="\n"+c+"</"+a+">";return e}var E="RequestType";function Q(a){var b="",d=a.method;b+="\n<"+n+":Envelope "+F+" "+x+">\n <"+n+":Body>\n <"+d+" "+G+" "+x+">";var c=null;switch(d){case Xmla.METHOD_DISCOVER:if(j(a.reque...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
a.dialog.add('colordialog',this.path+'dialogs/colordialog.js');}};j.add('colordialog',j.colordialog);})();j.add('contextmenu',{requires:['menu'],beforeInit:function(l){l.contextMenu=new j.contextMenu(l);l.addCommand('contextMenu',{exec:function(){l.contextMenu.show(l.document.getBody());}});}});j.contextMenu=e.createCl...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
for(var G=0;G<E.length&&(F=E[G])&&!F.equals(D);G++){if(l[E[G].getName()])return n.call(this,B.editor,this.type==E[G].getName()?1:2);}return n.call(this,B.editor,2);};function p(B,C,D,E){var F=j.list.listToArray(C.root,D),G=[];for(var H=0;H<C.contents.length;H++){var I=C.contents[H];I=I.getAscendant('li',true);if(!I||I....
}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline...
"pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"bl...
"Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=c.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return S(this,a,b,true,function(e,f,h){if(h===v)return c.curCSS(e,f);if(typeof h==="number"&&!Oa.test(f))h+="px";c.style(e,f,h)})};c.extend({style:func...
"pageXOffset"]:d.support.boxModel&&k.document.documentElement[e]||k.document.body[e]:h[e]}});var Oa=/z-?index|font-?weight|opacity|zoom|line-?height/i,ma=/alpha\([^)]*\)/,na=/opacity=([^)]*)/,X=/float/i,oa=/-([a-z])/ig,Pa=/([A-Z])/g,Qa=/^-?\d+(?:px)?$/i,Ra=/^-?\d/,Sa={position:"absolute",visibility:"hidden",display:"bl...
bottom_id, bottom_verse, top_id, top_verse }
bottom_id: 0, bottom_verse: 0, top_id: 0, top_verse: 0 };
query: function (options) { ///TODO: At some point, there needs to be feedback to the user that the query is taking place. Maybe have something in the infoBar. /// Stop any old requests since we have a new one....
console.log(result.action); console.log(result.redirect); console.log(result.post_id);
function quickEditsave_response(originalRequest){ // show error if necessary if( originalRequest.status != 200 ) { dzk_showajaxerror(originalRequest.responseText); editstatus = false; return; } var result = dejsonize(originalRequest.responseText);console.log(result.action);console.log(r...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
aa=null,T=0,ea=false,P=null,X=null,ha=(new Date).getTime(),fa,ca=0,Q={};K.prototype.preload=function(d){var c=new Image;this.images.push(c);c.onload=K.prototype.onload;c.onerror=K.prototype.onload;c.onabort=K.prototype.onload;c.imagePreloader=this;c.src=d};K.prototype.onload=function(){var d=this.imagePreloader;--d.wor...
s);this._p_={loadScript:Y,onJsLoad:Q,setTitle:l,update:H,quit:function(){ba=true;clearTimeout(aa)},setFormObjects:function(d){T=d},saveDownPos:v,addTimerEvent:z,load:o,handleResponse:D,setServerPush:t,dragStart:G,dragDrag:P,dragEnd:a,capture:n.capture,onHashChange:s,setHash:F,ImagePreloader:g,autoJavaScript:function(){...
a)return b;return-1}function w(a,b){var c=a.className.split(" ")[0],d=c.substring(7)*1,k=p.firstChild,g=f.firstChild;c=$(g).find("."+c).get(0);var j=a.nextSibling,e=c.nextSibling,l=i.pxself(a,"width")-1+b;k.style.width=g.style.width=i.pxself(k,"width")+b+"px";a.style.width=l+1+"px";for(c.style.width=l+7+"px";j;j=j.next...
a)return b;return-1}function w(a,b){var c=a.className.split(" ")[0],d=c.substring(7)*1,k=p.firstChild,g=f.firstChild;c=$(g).find("."+c).get(0);var j=a.nextSibling,e=c.nextSibling,l=i.pxself(a,"width")-1+b;k.style.width=g.style.width=i.pxself(k,"width")+b+"px";a.style.width=l+1+"px";for(c.style.width=l+7+"px";j;j=j.next...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,h,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
d.objectPrevStyle.position;d.object.style.display=d.objectPrevStyle.display;d.object.style.left=d.objectPrevStyle.left;d.object.style.top=d.objectPrevStyle.top;d.object.className=d.objectPrevStyle.className;d.object=null}}function r(c,d){var e,g,h;h=c.event;e=d>0?"&e"+d:"&";g=e+"signal="+c.signal;if(c.id){g+=e+"id="+c....
d.objectPrevStyle.position;d.object.style.display=d.objectPrevStyle.display;d.object.style.left=d.objectPrevStyle.left;d.object.style.top=d.objectPrevStyle.top;d.object.className=d.objectPrevStyle.className;d.object=null}}function r(c,d){var e,g,h;h=c.event;e=d>0?"&e"+d:"&";g=e+"signal="+c.signal;if(c.id){g+=e+"id="+c....
d.objectPrevStyle.position;d.object.style.display=d.objectPrevStyle.display;d.object.style.left=d.objectPrevStyle.left;d.object.style.top=d.objectPrevStyle.top;d.object.className=d.objectPrevStyle.className;d.object=null}}function r(c,d){var e,g,h;h=c.event;e=d>0?"&e"+d:"&";g=e+"signal="+c.signal;if(c.id){g+=e+"id="+c....
e+"ctrlKey=1";if(h.metaKey)g+=e+"metaKey=1";if(h.shiftKey)g+=e+"shiftKey=1";c.data=g;return c}function t(){var c="";feedback=false;for(var d=0;d<v.length;++d){feedback=feedback||v[d].feedback;c+=v[d].data}V=v;v=[];return{feedback:feedback,result:c}}function A(){q.history._initTimeout();R==0&&J(null,"none",null,false);W...
e+"ctrlKey=1";if(h.metaKey)g+=e+"metaKey=1";if(h.shiftKey)g+=e+"shiftKey=1";c.data=g;return c}function t(){var c="";feedback=false;for(var d=0;d<v.length;++d){feedback=feedback||v[d].feedback;c+=v[d].data}V=v;v=[];return{feedback:feedback,result:c}}function A(){q.history._initTimeout();S==0&&J(null,"none",null,false);W...
d.objectPrevStyle.position;d.object.style.display=d.objectPrevStyle.display;d.object.style.left=d.objectPrevStyle.left;d.object.style.top=d.objectPrevStyle.top;d.object.className=d.objectPrevStyle.className;d.object=null}}function r(c,d){var e,g,h;h=c.event;e=d>0?"&e"+d:"&";g=e+"signal="+c.signal;if(c.id){g+=e+"id="+c....
function(d){I.state=1;o(0,d.data,null)}}if(c.readyState==1){r();return}}_$_$endif_$_();if(F!=null&&O!=null){clearTimeout(O);F.abort();F=null}if(F==null)if(S==null){S=setTimeout(function(){r()},h.updateDelay);la=(new Date).getTime()}else if(ba){clearTimeout(S);r()}else if((new Date).getTime()-la>h.updateDelay){clearTime...
" null;if(R){if(!ma){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ma=true}}else{var c,d,e,j="&rand="+Math.round(Math.random(na)*1E5);if(y.length>0){c=X();d=c.feedback?setTimeout(f,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"&signal=poll"};d=null;e=true}...
function(d){I.state=1;o(0,d.data,null)}}if(c.readyState==1){r();return}}_$_$endif_$_();if(F!=null&&O!=null){clearTimeout(O);F.abort();F=null}if(F==null)if(S==null){S=setTimeout(function(){r()},h.updateDelay);la=(new Date).getTime()}else if(ba){clearTimeout(S);r()}else if((new Date).getTime()-la>h.updateDelay){clearTime...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,h,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
WT_DECLARE_WT_MEMBER(1,"WTableView",function(n,j,f,p){function q(a){var b=-1,c=false,d=false,k=null;for(a=a.target||a.srcElement;a;){var g=$(a);if(g.hasClass("Wt-tv-contents"))break;else if(g.hasClass("Wt-tv-c")){if(a.getAttribute("drop")==="true")d=true;if(g.hasClass("Wt-selected"))c=true;k=a;a=a.parentNode;b=a.classN...
false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState=="loaded")N(d)};document.getElementsByTagName("head")[0].appendChild(m)}}function p(d,c){this.callback=c;this.work=d.length;this.images=...
"complete"||h.readyState=="loaded")M(d)};document.getElementsByTagName("head")[0].appendChild(h)}}function p(d,c){this.callback=c;this.work=d.length;this.images=[];if(d.length==0)c(this.images);else for(c=0;c<d.length;c++)this.preload(d[c])}function r(d){if(d.ieAlternativeExecuted)return"0";x.emit(d.parentNode,"IeAltne...
false}if(f)N(d);else{var m=document.createElement("script");m.setAttribute("src",d);m.onload=function(){N(d)};m.onreadystatechange=function(){if(m.readyState=="complete"||m.readyState=="loaded")N(d)};document.getElementsByTagName("head")[0].appendChild(m)}}function p(d,c){this.callback=c;this.work=d.length;this.images=...
c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);da=[];if(L){clearTimeout(L);L=null}K=null;if(d>0)++X;else X=0;if(!P)if(ha||A.length>0)if(d==1){d=Mat...
d+"})();";window.execScript?window.execScript(d):window.eval(d)}q._p_.autoJavaScript()}function u(d,c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);...
c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);da=[];if(L){clearTimeout(L);L=null}K=null;if(d>0)++X;else X=0;if(!P)if(ha||A.length>0)if(d==1){d=Mat...
null){N=setTimeout(function(){A()},n.updateDelay);fa=(new Date).getTime()}else if(U){clearTimeout(N);A()}else if((new Date).getTime()-fa>n.updateDelay){clearTimeout(N);A()}}function R(d){ca=d;p._p_.comm.responseReceived(d)}function A(){N=null;if(ba){if(!ga){if(confirm("The application was quited, do you want to restart...
c.object=null}}function R(d,c){var e,h;h=d.event;c=c>0?"&e"+c:"&";e=c+"signal="+d.signal;if(d.id){e+=c+"id="+d.id+c+"name="+encodeURIComponent(d.name)+c+"an="+d.args.length;for(var i=0;i<d.args.length;++i)e+=c+"a"+i+"="+encodeURIComponent(d.args[i])}for(var j=0;j<B.length;++j){var r=g.getElement(B[j]),v=null,W;if(r!=nu...
null){N=setTimeout(function(){A()},n.updateDelay);fa=(new Date).getTime()}else if(U){clearTimeout(N);A()}else if((new Date).getTime()-fa>n.updateDelay){clearTimeout(N);A()}}function R(d){ca=d;p._p_.comm.responseReceived(d)}function A(){N=null;if(ba){if(!ga){if(confirm("The application was quited, do you want to restart...
true);return this.discover(a)}};function R(a){a=m(a,A,B,"complexType");var b=a.length,d,c;for(c=0;c<b;c++){d=a.item(c);if(d.getAttribute("name")==="row")return d}return null}Xmla.Rowset=function(a,b){this._initData(a,b);return this};Xmla.Rowset.MD_DIMTYPE_UNKNOWN=0;Xmla.Rowset.MD_DIMTYPE_TIME=1;Xmla.Rowset.MD_DIMTYPE_M...
true);return this.discover(a)}};function R(a){a=o(a,z,A,"complexType");var b=a.length,d,c;for(c=0;c<b;c+=1){d=a.item(c);if(d.getAttribute("name")==="row")return d}return null}Xmla.Rowset=function(a,b){this._initData(a,b);return this};Xmla.Rowset.MD_DIMTYPE_UNKNOWN=0;Xmla.Rowset.MD_DIMTYPE_TIME=1;Xmla.Rowset.MD_DIMTYPE_...
true);return this.discover(a)}};function R(a){a=m(a,A,B,"complexType");var b=a.length,d,c;for(c=0;c<b;c++){d=a.item(c);if(d.getAttribute("name")==="row")return d}return null}Xmla.Rowset=function(a,b){this._initData(a,b);return this};Xmla.Rowset.MD_DIMTYPE_UNKNOWN=0;Xmla.Rowset.MD_DIMTYPE_TIME=1;Xmla.Rowset.MD_DIMTYPE_M...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinN...
else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload;if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=f...
(function(x,v){function Y(){if(!d.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}d.ready()}}function ra(a,b){b.src?d.ajax({url:b.src,async:false,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,g,h,k){var...
(function(x,v){function Y(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}c.ready()}}function ra(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,f,h,k){var...
(function(x,v){function Y(){if(!d.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(Y,1);return}d.ready()}}function ra(a,b){b.src?d.ajax({url:b.src,async:false,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e,g,h,k){var...
if (val == undefined) {
if (val === undefined) {
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
if (isNaN(val) || val == value) { return self; }
if (isNaN(val)) { return self; }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
input[0].valueAsNumber = val;
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), vertical, value, // current value origo, // handle's start point len, // length of the range pos; // current position of...
$(self).bind(name, fn);
if (fn) { $(self).bind(name, fn); }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), vertical, value, // current value origo, // handle's start point len, // length of the range pos; // current position of...
pos, progress, handle;
pos;
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
handle = root.addClass(css.slider).find("a").addClass(css.handle); progress = root.find("div").addClass(css.progress);
var handle = root.addClass(css.slider).find("a").addClass(css.handle), progress = root.find("div").addClass(css.progress), vertical = conf.vertical || dim(root, "height") > dim(root, "width");
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
function slide(evt, x, val, isClick) {
function slide(evt, x, val, isSetValue) {
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
x = Math.max(0, Math.min(x, len)); val += conf.min; val = x / len * range;
x = Math.max(0, Math.min(x, len)); val = x / len * range; if (isSetValue || !vertical) { val += conf.min; } if (vertical) { if (isSetValue) { x = len -x; } else { val = conf.max - val; } }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
if (conf.vertical) {
if (vertical) {
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
if (conf.progress) { progress.animate({height: x}, speed); }
if (conf.progress) { progress.animate({height: len - x + handle.width() / 2}, speed); }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
if (conf.progress) { progress.animate({width: x}, speed); }
if (conf.progress) { progress.animate({width: x + handle.width() / 2}, speed); }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
return slide(e || $.Event(), undefined, val - conf.min);
return slide(e || $.Event("api"), undefined, val, true);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
self.setValue(value + conf.step * (am || 1), e);
var step = conf.step == 'any' ? 1 : conf.step; self.setValue(value + step * (am || 1), e);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
slide(e, conf.vertical ? y : x);
slide(e, vertical ? y : x);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
var fix = handle.width() / 2; slide(e, conf.vertical ? e.pageY + fix : e.pageX - origo - fix, undefined, true);
var fix = handle.width() / 2; slide(e, vertical ? -(origo -e.pageY +fix) + len : e.pageX -origo -fix);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
input.blur(function(e) { self.setValue($(this).val(), e);
input.blur(function(e) { var val = $(this).val(); if (val !== value) { self.setValue(val, e); }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos, // current position of the handle...
if (val || val === 0) {
if (parseFloat(val)) {
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
var tmp = $("<input/>").attr("name", input.attr("name"));
var tmp = $("<input/>"); $.each("name,readonly,disabled".split(","), function(i, attr) { tmp.attr(attr, input.attr(attr)); }); tmp.val(conf.value);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
if (!origo) { init(); }
init();
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
slide(e, vertical ? -(origo -e.pageY +fix) + len : e.pageX -origo -fix);
slide(e, vertical ? len-origo-fix + e.pageY : e.pageX -origo -fix);
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
init(); self.setValue(input.val() || conf.value || conf.min);
function begin() { init(); self.setValue(conf.value || conf.min); } begin(); if (!len) { $(window).load(begin); }
function RangeInput(input, conf) { // private variables var self = this, css = conf.css, root = $("<div><div/><a href='#'/></div>").data("rangeinput", self), value, // current value origo, // handle's start point len, // length of the range pos; // current position of the handle ...
var val = (this.isGM ? GM_getValue : (function (name, def) { return localStorage.getItem(name) || def }))((store || this.storage), '{}'), rval;
var val = (isGM ? GM_getValue : (function(name, def){ var s=localStorage.getItem(name); return s == null ? def : s }))((store||this.storage), ‘{}’), rval;
read: function (store) { try { var val = (this.isGM ? GM_getValue : (function (name, def) { return localStorage.getItem(name) || def }))((store || this.storage), '{}'), rval; rval = JSON.parse(val); } catch(e) { this.log("GM_con...
var browser_info = Pfs.UI.browserInfo(); $this.property_defaults.os_name = browser_info.clientOS; $this.property_defaults.platform = { app_id: browser_info.appID, app_release: browser_info.appRelease, app_version: browser_info.appVersion, locale: browser_info.chromeLocale };
ready: function () { // Update defaults from browser detection details. var browser_info = Pfs.UI.browserInfo(); $this.property_defaults.os_name = browser_info.clientOS; $this.property_defaults.platform = { app_id: browser_info.appID, app...
if (ex[k].pattern.test(msg.routingKey)) { match = true; ex[k].fireEvent("rcv", msg); }
for(var k in ex) { if (ex[k].pattern.test(msg.routingKey)) { match = true; ex[k].fireEvent("rcv", msg); } }
receive: function(msg) { if(this.queue == "auto") { this.queue = MQ.dispatch("getAutoQueueName"); } var match = false; var ex = this.bindings[msg.exchange]; if(ex) { var type = MQ.exchanges[msg.exchange].type; if (type == 'fanout') { for(var k in ex) { match = true; ex[k].fireEvent("rcv", msg); ...
if (request.status == 200)
if (request.status == 200 && request.getResponseHeader("Content-Type") .indexOf("text/javascript") == 0)
function recvCallback() { if (request.readyState == 4) { if (handled) return; // console.log("recvCallback " + request.status); clearTimeout(timer); if (request.status == 200) handler(0, request.responseText, userData); else handler(1, null, userData); request.onreadystatechange = new Func...
t==true){c.cancelEvent(b);return false}var f=i,j=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/i.offsetHeight:1;var h;for(h=0;f&&h<b;++h){var l=B(f,j);if(!l)break;f=l}if(f&&c.hasTag(f,"DIV")){i.className="";f.className="sel";m=f.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filte...
this.refilter=function(){var a=l?c.getElement(l):null,b=c.getElement(f),h=z(b),e=!$(b).hasClass("Wt-suggest-dropdown"),p=d.lastChild.childNodes,j=h(null);if(r)if(e&&j.length<r){k();return}else{var g=j.substring(0,r);if(g!=v){if(g!=w){w=g;q.emit(d,"filter",g)}if(e){k();return}}}g=null;e=!e&&j.length==0;for(j=0;j<p.lengt...
t==true){c.cancelEvent(b);return false}var f=i,j=b.keyCode==40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?d.clientHeight/i.offsetHeight:1;var h;for(h=0;f&&h<b;++h){var l=B(f,j);if(!l)break;f=l}if(f&&c.hasTag(f,"DIV")){i.className="";f.className="sel";m=f.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filte...
40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?f.clientHeight/k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var v=z(l,p);if(!v)break;l=v}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){v...
k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var u=z(l,p);if(!u)break;l=u}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){var a=n?e.getElement(n):null,b=e.getElement(i),k=C(b),l=f.lastChi...
40||b.keyCode==34;b=b.keyCode==34||b.keyCode==33?f.clientHeight/k.offsetHeight:1;var j;for(j=0;l&&j<b;++j){var v=z(l,p);if(!v)break;l=v}if(l&&e.hasTag(l,"DIV")){k.className="";l.className="sel";n=l.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){H=a;A.refilter()};this.refilter=function(){v...
sels = el.lastChild.childNodes,
this.refilter = function() { var sel = selId ? WT.getElement(selId) : null, edit = WT.getElement(editId), matcher = matcherJS(edit), canhide = !$(edit).hasClass("Wt-suggest-dropdown"), sels = el.lastChild.childNodes, text = matcher(null); if (filterLength) { if (...
this.refilter=function(){var a=l?c.getElement(l):null,b=c.getElement(f),h=z(b),e=!$(b).hasClass("Wt-suggest-dropdown"),p=d.lastChild.childNodes,j=h(null);if(r)if(e&&j.length<r){k();return}else{var g=j.substring(0,r);if(g!=v){if(g!=w){w=g;q.emit(d,"filter",g)}if(e){k();return}}}g=null;e=!e&&j.length==0;for(j=0;j<p.lengt...
1;var j;for(j=0;e&&j<b;++j){var g=E(e,p);if(!g)break;e=g}if(e&&c.hasTag(e,"DIV")){h.className="";e.className="sel";k=e.id}return false}return b.keyCode!=13&&b.keyCode!=9};this.filtered=function(a){x=a;n.refilter()};this.refilter=function(){var a=k?c.getElement(k):null,b=c.getElement(f),h=B(b),e=!$(b).hasClass("Wt-sugge...
this.refilter=function(){var a=l?c.getElement(l):null,b=c.getElement(f),h=z(b),e=!$(b).hasClass("Wt-suggest-dropdown"),p=d.lastChild.childNodes,j=h(null);if(r)if(e&&j.length<r){k();return}else{var g=j.substring(0,r);if(g!=v){if(g!=w){w=g;q.emit(d,"filter",g)}if(e){k();return}}}g=null;e=!e&&j.length==0;for(j=0;j<p.lengt...
var p = sel.parentNode; if (sel.offsetTop + sel.offsetHeight > p.scrollTop + p.clientHeight) p.scrollTop = sel.offsetTop + sel.offsetHeight - p.clientHeight; else if (sel.offsetTop < p.scrollTop) p.scrollTop = sel.offsetTop;
scrollToSelected(sel);
this.refilter = function() { var sel = selId ? WT.getElement(selId) : null, edit = WT.getElement(editId), matcher = matcherJS(edit), canhide = !$(edit).hasClass("Wt-suggest-dropdown"), sels = el.lastChild.childNodes, text = matcher(null); if (filterLength) { if (...
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2...
a.dialog.add('smiley',this.path+'dialogs/smiley.js');}});i.smiley_images=['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_sm...
(function(){var l='.%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;border: 1px dotted gray;padding-top: 8px;padding-left: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2...
this.root.id = this.getBrowsePath(this.payload.data.resourceURI);
this.root.id = this.payload ? this.getBrowsePath(this.payload.data.resourceURI) : '/',
refreshHandler : function(button, e) { this.root.setText(this.payload ? this.payload.get(this.titleColumn) : '/'); this.root.attributes.localStorageUpdated = false; this.root.id = this.getBrowsePath(this.payload.data.resourceURI); this.root.reload(); },
this.root.setText(this.payload ? this.payload.get(this.titleColumn) : '/'); this.root.attributes.localStorageUpdated = false; this.root.id = this.payload ? this.getBrowsePath(this.payload.data.resourceURI) : '/', this.root.reload();
if (this.root) { this.root.destroy(); } if (this.payload) { this.setRootNode(new Ext.tree.AsyncTreeNode({ text : this.payload.get(this.titleColumn), id : this.getBrowsePath(this.payload.data.resourceURI), singleClickExpand : true, expanded : true })); } else { this.setRootNode(new Ext.tree.TreeNode({ text : '(Not Avail...
refreshHandler : function(button, e) { this.root.setText(this.payload ? this.payload.get(this.titleColumn) : '/'); this.root.attributes.localStorageUpdated = false; this.root.id = this.payload ? this.getBrowsePath(this.payload.data.resourceURI) : '/', this.root.reload(); },
h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(functi...
register:function(k,h){if(!K){D=x=escape(k);Y=h}},initialize:function(k,h){if(!K){var s=navigator.vendor||"";if(s!=="KDE")if(typeof window.opera!=="undefined")B=true;else if(!q&&s.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof k==="string")k=document.getElementById(k);if(!(!k||k.tagName.toUpperCase()!=="TEXTAREA"&...
h&&u){k=s;h=A;s=O[h-1];f(s);b()}},50)}}function L(){var k;k=J.value.split("|");if(k.length>1){x=k[0];D=k[1]}if(k.length>2)O=k[2].split(",");if(q)n();else{o();K=true;r!=null&&r()}}var u=false,q=g.isIElt9,B=false,r=null,C=null,J=null,K=false,M=null,O=[],x,D,Y=function(){};return{onReady:function(k){if(K)setTimeout(functi...
var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SELECTED"); if(this.selected_arr) objs = $.makeArray(this.selected_arr); else objs.push(this.selected); var to_select = this.settings.ui.selected_delete == "select_previous" ? this.prev(this.selected) : fa...
if(obj && (!this.selected || this.get_node(obj).get(0) != this.selected.get(0) )) { obj = this.get_node(obj); if(obj.size()) { if(!this.check("deletable", obj)) return this.error("DELETE: NODE NOT DELETABLE"); if(!this.callback("beforedelete",[obj.get(0), _this])) return this.error("DELETE: STOPPED BY USER"); $parent =...
remove : function(obj) { if(this.locked) return this.error("LOCKED"); var _this = this; // Rollback var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SEL...
for(var i = 0; i < objs.length; i++) { if(!this.check("deletable", objs[i])) { this.error("DELETE: NODE NOT DELETABLE"); continue;
else if(this.selected) { if(!this.check("deletable", this.selected)) return this.error("DELETE: NODE NOT DELETABLE"); if(!this.callback("beforedelete",[this.selected.get(0), _this])) return this.error("DELETE: STOPPED BY USER"); $parent = this.selected.parent(); var obj = this.selected; if(this.settings.rules.multiple ...
remove : function(obj) { if(this.locked) return this.error("LOCKED"); var _this = this; // Rollback var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SEL...
if(!this.callback("beforedelete",[{ node : objs[i] }])) { this.error("DELETE: STOPPED BY USER"); continue;
obj = obj.remove(); $parent.children("li:last").addClass("last"); if($parent.children("li").size() == 0) { $li = $parent.parents("li:eq(0)"); $li.removeClass("open").removeClass("closed").addClass("leaf").children("ul").remove();
remove : function(obj) { if(this.locked) return this.error("LOCKED"); var _this = this; // Rollback var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SEL...
var $parent = _this.parent(objs[i]); var tmp = this._remove(objs[i], true); this.callback("ondelete", [{ 'node' : tmp.get(0), 'parent' : $parent == -1 ? $parent : $parent.get(0), 'is_ui' : true, 'rollback' : rb }]);
if(!stop && this.settings.rules.multiple != false) { var _this = this; this.selected_arr = []; this.container.find("a.clicked").filter(":first-child").parent().each(function () { _this.selected_arr.push($(this)); }); if(this.selected_arr.length > 0) { this.selected = this.selected_arr[0]; this.remove(); } } if(stop && ...
remove : function(obj) { if(this.locked) return this.error("LOCKED"); var _this = this; // Rollback var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SEL...
if(to_select) this.select_branch(to_select);
else return this.error("DELETE: NO NODE SELECTED");
remove : function(obj) { if(this.locked) return this.error("LOCKED"); var _this = this; // Rollback var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); var objs = []; if(obj) objs.push(this.get_node(obj)); else { if(!this.selected) return this.error("DELETE: NO NODE SEL...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}e...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this...
f(this[p],k):this[p],h.cacheable||this.length>1||p>0?h.fragment.cloneNode(true):h.fragment)}q&&c.each(q,ra)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var f=[];e=c(e);for(var h=0,k=e.le...
ra)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var g=[];e=d(e);for(var h=0,k=e.length;h<k;h++){var l=(h>0?this.clone(true):this).get();d.fn[b].apply(d(e[h]),l);g=g.concat(l)}return this...
if (child.offsetTop > scroll_pos + doc_docEl.clientHeight + buffer_rem) {
if (child.offsetTop > window.pageYOffset + doc_docEl.clientHeight + buffer_rem) {
function remove_excess_content_bottom() { var child = page.lastChild; if (child === null) { return null; } /// Is the element is in the remove zone? if (child.offsetTop > scroll_pos + doc_docEl.clientHeight + bu...
window.scrollTo(0, scroll_pos);
scrollViewTo(0, window.pageYOffset);
function remove_excess_content_bottom() { var child = page.lastChild; if (child === null) { return null; } /// Is the element is in the remove zone? if (child.offsetTop > scroll_pos + doc_docEl.clientHeight + bu...
remove_content_bottom_timeout = setTimeout(remove_excess_content_bottom, remove_speed);
remove_content_bottom_timeout = window.setTimeout(remove_excess_content_bottom, remove_speed);
function remove_excess_content_bottom() { var child = page.lastChild; if (child === null) { return null; } /// Is the element is in the remove zone? if (child.offsetTop > window.pageYOffset + doc_docEl.clientHei...
if (child == null) return null;
if (child === null) return null;
function remove_excess_content_bottom() { var child = page.lastChild, child_position, page_height; if (child == null) return null; child_position = child.offsetTop; page_height = doc_docEl.clientHeight; /// Is the element is in the remove zone? if (child_position > scroll_pos + page_height + buffer_rem...
if (child_height + buffer_rem < scroll_pos && child_height < doc_docEl.scrollHeight - scroll_pos - doc_docEl.clientHeight) {
if (child_height + buffer_rem < window.pageYOffset && child_height < doc_docEl.scrollHeight - window.pageYOffset - doc_docEl.clientHeight) {
function remove_excess_content_top() { var child = page.firstChild, child_height; if (child === null) { return null; } ///NOTE: Mozilla ignores .clientHeight, .offsetHeight, .scrollHeight for some objects ...
scroll_pos = window.pageYOffset - child_height; window.scrollTo(0, scroll_pos);
scrollViewTo(0, window.pageYOffset - child_height);
function remove_excess_content_top() { var child = page.firstChild, child_height; if (child === null) { return null; } ///NOTE: Mozilla ignores .clientHeight, .offsetHeight, .scrollHeight for some objects ...
remove_content_top_timeout = setTimeout(remove_excess_content_top, remove_speed);
remove_content_top_timeout = window.setTimeout(remove_excess_content_top, remove_speed);
function remove_excess_content_top() { var child = page.firstChild, child_height; if (child === null) { return null; } ///NOTE: Mozilla ignores .clientHeight, .offsetHeight, .scrollHeight for some objects (n...
if (child == null) return null;
if (child === null) return null;
function remove_excess_content_top() { var child = page.firstChild, child_height; if (child == null) return null; ///NOTE: Mozilla ignores .clientHeight, .offsetHeight, .scrollHeight for some objects (not <div> however) with a doctype. /// If Mozilla has problems in the future, you can use this as a rep...
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct...
},setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);re...
if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:funct...
l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.removeClass(a.call(this,p,o.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(W),e=0,g=this.length;e...
p,o.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(W),e=0,f=this.length;e<f;e++){var h=this[e];if(h.nodeType===1)if(h.className)for(var k=" "+h.className+" ",l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(c.isFun...
l=0,q=b.length;l<q;l++){if(k.indexOf(" "+b[l]+" ")<0)h.className+=" "+b[l]}else h.className=a}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(p){var o=d(this);o.removeClass(a.call(this,p,o.attr("class")))});if(a&&typeof a==="string"||a===v)for(var b=(a||"").split(W),e=0,g=this.length;e...
window.removeEventListener('current_view_check_status', this.handle_current_view_check_status_setup, false); window.removeEventListener('view_closed', this.handle_view_closed_setup, false);
try { if (this.prefs.editCompatibility) { window.removeEventListener('current_view_check_status', this.handle_current_view_check_status_setup, false); }; window.removeEventListener('view_opened', this.handle_view_opened_setup, false); window.removeEventListener('view_closed', this.handle_view_closed_setup, false); } ca...
removeListeners : function() { window.removeEventListener('current_view_check_status', this.handle_current_view_check_status_setup, false); window.removeEventListener('view_closed', this.handle_view_closed_setup, false); },
this.setupButton_ready(null,this._currentWindow);
removeLogins: function() { // Get the toolbaritem "container" that we added to our XUL markup var container = this._currentWindow.document.getElementById("KeeFox_Main-Button"); if (container === undefined || container == null) return; // Remove all of the existing ...
if (container === undefined || container == null) return;
removeLogins: function() { // Get the toolbaritem "container" that we added to our XUL markup var container = this._currentWindow.document.getElementById("KeeFox_Main-Button"); // Remove all of the existing buttons for (i = container.childNodes.length; i > 0; i--) { container....
this.setupButton_ready(null,this._currentWindow);
removeLogins: function() { // Get the toolbaritem "container" that we added to our XUL markup var container = this._currentWindow.document.getElementById("KeeFox_Main-Button"); // Remove all of the existing buttons for (i = container.childNodes.length; i > 0; i--) { container....
for (var i = arr.length - 1; i >= 0; i--) { if (arr[i].view == view) { arr.splice(i, 1);
try { for (var i = arr.length - 1; i >= 0; i--) { if (arr[i].view == view) { try { scimoz = arr[i].view.scimoz; scimoz.markerDeleteHandle(arr[i].marker); } catch (e) {} arr.splice(i, 1); }
removeView : function(view, arr) { for (var i = arr.length - 1; i >= 0; i--) { if (arr[i].view == view) { arr.splice(i, 1); } } },
} catch (err) { DafizillaCommon.exception(err);
removeView : function(view, arr) { for (var i = arr.length - 1; i >= 0; i--) { if (arr[i].view == view) { arr.splice(i, 1); } } },
rename : function (obj, is_create, create_rb) {
rename : function (obj, new_name) {
rename : function (obj, is_create, create_rb) { if(this.locked) return this.error("LOCKED"); obj = obj ? this.get_node(obj) : this.selected; var _this = this; if(!obj || !obj.size()) return this.error("RENAME: NO NODE SELECTED"); if(!this.check("renameable", obj)) return this.error("RENAME: NODE NOT R...
if(!this.callback("beforerename",[{ node : obj.get(0), lang : _this.current_lang }])) return this.error("RENAME: STOPPED BY USER");
if(!this.callback("beforerename",[obj.get(0), _this.current_lang, _this])) return this.error("RENAME: STOPPED BY USER");
rename : function (obj, is_create, create_rb) { if(this.locked) return this.error("LOCKED"); obj = obj ? this.get_node(obj) : this.selected; var _this = this; if(!obj || !obj.size()) return this.error("RENAME: NO NODE SELECTED"); if(!this.check("renameable", obj)) return this.error("RENAME: NODE NOT R...
var a = obj.children("a:visible"); var last_value = ""; a.contents().each(function () { if(this.nodeType == 3) { last_value = this.data; return false; } });
var icn = obj.children("ins").clone(); if((typeof new_name).toLowerCase() == "string") { obj.text(new_name).prepend(icn); _this.callback("onrename", [_this.get_node(obj).get(0), _this, rb]); } else { var last_value = ""; obj.contents().each(function () { if(this.nodeType == 3) { last_value = this.data; return false; } ...
rename : function (obj, is_create, create_rb) { if(this.locked) return this.error("LOCKED"); obj = obj ? this.get_node(obj) : this.selected; var _this = this; if(!obj || !obj.size()) return this.error("RENAME: NO NODE SELECTED"); if(!this.check("renameable", obj)) return this.error("RENAME: NODE NOT R...
_this.inp = $("<input type='text' autocomplete='off' />"); _this.inp .val(last_value.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")) .bind("mousedown", function (event) { event.stopPropagation(); }) .bind("mouseup", function (event) { event.stopPropagation(); }) .bind("click", function (event) { ev...
var spn = $("<span />").addClass(obj.attr("class")).append(icn).append(_this.inp); obj.get(0).style.display = "none"; obj.parent().prepend(spn); _this.inp.get(0).focus(); _this.inp.get(0).select(); }
rename : function (obj, is_create, create_rb) { if(this.locked) return this.error("LOCKED"); obj = obj ? this.get_node(obj) : this.selected; var _this = this; if(!obj || !obj.size()) return this.error("RENAME: NO NODE SELECTED"); if(!this.check("renameable", obj)) return this.error("RENAME: NODE NOT R...
I=P.getParent();if(!P.getPrevious())P.remove().insertBefore(I);else if(!P.getNext())P.remove().insertAfter(I);else{P.breakParent(P.getParent());O.push(P.getNext());}if(!I.getCustomData('blockquote_processed')){O.push(I);h.setMarker(K,I,'blockquote_processed',true);}N.push(P);}h.clearAllMarkers(K);for(E=O.length-1;E>=0;...
if(!y.equals(G))D.push(y);G=y;}while(D.length>0){y=D.shift();if(y.getName()=='blockquote'){var H=new d.documentFragment(p.document);while(y.getFirst()){H.append(y.getFirst().remove());z.push(H.getLast());}H.replace(y);}else z.push(y);}var I=p.document.createElement('blockquote');I.insertBefore(z[0]);while(z.length>0){y...
I=P.getParent();if(!P.getPrevious())P.remove().insertBefore(I);else if(!P.getNext())P.remove().insertAfter(I);else{P.breakParent(P.getParent());O.push(P.getNext());}if(!I.getCustomData('blockquote_processed')){O.push(I);h.setMarker(K,I,'blockquote_processed',true);}N.push(P);}h.clearAllMarkers(K);for(E=O.length-1;E>=0;...
soy.renderAsFragment = function(template, opt_templateData) { var tempDiv = document.createElement('div'); tempDiv.innerHTML = template(opt_templateData); if (tempDiv.childNodes.length == 1) { return tempDiv.firstChild; } else { var fragment = document.createDocumentFragment(); while (tempDiv.firstChild) { fragment.ap...
soy.renderAsFragment = function(template, opt_templateData, opt_document) { return soy.renderWithWrapper_(template, opt_templateData, opt_document, false );
soy.renderAsFragment = function(template, opt_templateData) { var tempDiv = document.createElement('div'); tempDiv.innerHTML = template(opt_templateData); if (tempDiv.childNodes.length == 1) { return tempDiv.firstChild; } else { var fragment = document.createDocumentFragment(); while (tempDiv.firstChild) {...
soy.renderAsFragment = function(template, opt_templateData) { return goog.dom.htmlToDocumentFragment(template(opt_templateData));
soy.renderAsFragment = function(template, opt_templateData, opt_document) { return soy.renderWithWrapper_(template, opt_templateData, opt_document, false );
soy.renderAsFragment = function(template, opt_templateData) { return goog.dom.htmlToDocumentFragment(template(opt_templateData));};
element.innerHTML = template(opt_templateData);
element.innerHTML = template(opt_templateData || soy.defaultTemplateData_);
soy.renderElement = function(element, template, opt_templateData) { element.innerHTML = template(opt_templateData);};
o.replace(m,"$1"+s+"$2"+f);if(z!=o){u=true;o=z}}return{match:u,suggestion:o}}};this.replace=function(c,g,d){g=t(c);var m=c.value.substring(0,g.start)+d+y;if(g.end<c.value.length)m+=c.value.substring(g.end,c.value.length);c.value=m;if(c.selectionStart){c.selectionStart=g.start+d.length+y.length;c.selectionEnd=c.selectio...
o.replace(m,"$1"+s+"$2"+f);if(z!=o){t=true;o=z}}return{match:t,suggestion:o}}};this.replace=function(c,g,d){g=y(c);var m=c.value.substring(0,g.start)+d+x;if(g.end<c.value.length)m+=c.value.substring(g.end,c.value.length);c.value=m;if(c.selectionStart){c.selectionStart=g.start+d.length+x.length;c.selectionEnd=c.selectio...
o.replace(m,"$1"+s+"$2"+f);if(z!=o){u=true;o=z}}return{match:u,suggestion:o}}};this.replace=function(c,g,d){g=t(c);var m=c.value.substring(0,g.start)+d+y;if(g.end<c.value.length)m+=c.value.substring(g.end,c.value.length);c.value=m;if(c.selectionStart){c.selectionStart=g.start+d.length+y.length;c.selectionEnd=c.selectio...
}K.matchRange.setMatched();if(A!==false)K.matchRange.highlight();return true;}}K.matchRange.clearMatched();K.matchRange.removeHighlight();if(z&&!B){K.searchRange=v(true);K.matchRange=null;return arguments.callee.apply(K,Array.prototype.slice.call(arguments).concat([true]));}return false;},replaceCounter:0,replace:funct...
while(F=L.matchRange.getEndCharacter()){E=D.feedCharacter(F);if(E==r)break;if(L.matchRange.moveNext().hitMatchBoundary)D.reset();}if(E==r){if(z){var G=L.matchRange.getCursors(),H=G[G.length-1],I=G[0],J=new l(o(I),true),K=new l(n(H),true);if(!(u(J.back().character)&&u(K.next().character)))continue;}L.matchRange.setMatch...
}K.matchRange.setMatched();if(A!==false)K.matchRange.highlight();return true;}}K.matchRange.clearMatched();K.matchRange.removeHighlight();if(z&&!B){K.searchRange=v(true);K.matchRange=null;return arguments.callee.apply(K,Array.prototype.slice.call(arguments).concat([true]));}return false;},replaceCounter:0,replace:funct...
var root = new Ext.tree.AsyncTreeNode({ text : (this.payload ? this.payload.get(this.titleColumn) : '/'), id : (this.payload ? this.getBrowsePath(this.payload.data.resourceURI) : '/'), singleClickExpand : true, expanded : true }); this.setRootNode(root);
this.refreshHandler();
Sonatype.repoServer.RepositoryBrowsePanel = function(config) { var config = config || {}; var defaultConfig = { titleColumn : 'name' }; Ext.apply(this, config, defaultConfig); this.oldSearchText = ''; this.searchTask = new Ext.util.DelayedTask(this.startSearch, this, [this]); this.nodeContextMenuEvent = 'repo...
var xmla = this;
var ex, xmla = this;
request: function(options){ var xmla = this; if (this.response){ this.response.close(); } this.response = null; this.responseText = null; this.responseXml = null; options.url = _isUndefined(options.url)? this.options.url : options.url; if (_...