rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
if (negative) { formattedNumber = "-" + formattedNumber; } | I18n.toNumber = function(number, options) { options = this.prepareOptions( options, this.lookup("number.format"), {precision: 3, separator: ".", delimiter: ","} ); var string = number.toFixed(options["precision"]).toString(); var parts = string.split("."); number = parts[0]; var precision = parts[1]; var n = []; whi... | |
if ($.isFunction(conf)) { conf = {onBeforeShow: conf}; } else if (typeof conf == 'string') { conf = {tip: conf}; } | $.fn.tooltip = function(conf) { // return existing instance var api = this.data("tooltip"); if (api) { return api; } // configuration if ($.isFunction(conf)) { conf = {onBeforeShow: conf}; } else if (typeof conf == 'string') { conf = {tip: conf}; } conf = $.extend(true, {}, $.tools.tooltip.conf, ... | |
if (event[1]) { | if (event[1] && !trigger.is("input:not(:checkbox, :radio), textarea")) { | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), tipAttr = trigger.attr("data-tooltip"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), ... |
isWidget = isInput && trigger.is(":checkbox, :radio, select, :button"), | isWidget = isInput && trigger.is(":checkbox, :radio, select, :button, :submit"), | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... |
tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body).hide(); | tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body) .hide().append(title); | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... |
if (title) { tip.html(title); } | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... | |
if (conf.tip) { tip = $(conf.tip); if (tip.length > 1) { tip = trigger.next(conf.tip); } | if (title) { tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body); } else { tip = trigger.next(); if (!tip.length) { tip = trigger.parent().next(); } if (!tip.length) { tip = $(conf.tip).eq(0); } | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... |
if (!tip || !tip.length) { tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body); } | } if (tip.length) { tip.hide() } else { throw "Cannot find tooltip for " + trigger; | function Tooltip(trigger, conf) { var self = this, fire = trigger.add(self), tip, timer = 0, pretimer = 0, title = trigger.attr("title"), effect = effects[conf.effect], shown, // get show/hide configuration isInput = trigger.is(":input"), isWidget = isInput && trigger.is(":checkb... |
var defaults = this.optionsWithDefaults({precision: 3}, this.lookup("number.percentage.format")); options = this.optionsWithDefaults(defaults, options); | options = this.optionsWithDefaults(this.lookup("number.percentage.format"), options); options = this.optionsWithDefaults(this.lookup("number.format"), options); options = this.optionsWithDefaults({ precision: 3, separator: ".", delimiter: "" }, options); | I18n.toPercentage = function(number, options) { var defaults = this.optionsWithDefaults({precision: 3}, this.lookup("number.percentage.format")); options = this.optionsWithDefaults(defaults, options); number = this.toNumber(number, options); return number + "%";}; |
alert('Field labeled "' + this.label + '" expects an integer value.'); | alert('Field labeled "' + field.label + '" expects an integer value.'); | toValue: function(doc) { var fieldEl = this.node, field = this.settings, type = field.type; switch (type) { case 'checkbox': this.value = fieldEl.checked; break; case 'select': this.value = fieldEl[fieldEl.selectedIndex].value; break; case 'radio': ... |
alert('Field labeled "' + this.label + '" expects a number value.'); | alert('Field labeled "' + field.label + '" expects a number value.'); | toValue: function(doc) { var fieldEl = this.node, field = this.settings, type = field.type; switch (type) { case 'checkbox': this.value = fieldEl.checked; break; case 'select': this.value = fieldEl[fieldEl.selectedIndex].value; break; case 'radio': ... |
var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; | var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c + s.substring(2); | this.translateString = function(str) { var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c +... |
var c = charMap[s.substring(0, 2)]; | c = charMap2[s.substring(0, 3)]; | this.translateString = function(str) { var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c +... |
out += c + s.substring(2); else { c = charMap2[s.substring(0, 3)]; if (c !== undefined) out += c + s.substring(3); else out += "\\" + s; } | out += c + s.substring(3); else out += "\\" + s; | this.translateString = function(str) { var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c +... |
}); return out; }; | } }); return out; }; | this.translateString = function(str) { var arr = str.split('\\'); if (arr.length === 1) return str; var out = null; arr.each(function(s) { if (out === null) out = s; else if (s.length < 2) out += "\\" + s; else { var c = charMap[s.substring(0, 2)]; if (c !== undefined) out += c +... |
this.request.post($merge(myRequestOptions,options)); | if (reqRunning) { reqQueue.chain(arguments.callee.bind(this,options)); } else { reqRunning = true; this.request.post.delay(20,this.request,$merge(myRequestOptions,options)); } | transmit: function (options) { this.request.post($merge(myRequestOptions,options)); } |
var start = -1, end = this.length; | var end = this.length, start = -1; | String.prototype.trim = function() { var start = -1, end = this.length; while (this.charCodeAt(--end) < 33); while (++start < end && this.charCodeAt(start) < 33); return this.slice(start, end + 1); }; |
while (this.charCodeAt(--end) < 33); while (++start < end && this.charCodeAt(start) < 33); | while (this.charCodeAt(--end) < 33) {} while (++start < end && this.charCodeAt(start) < 33) {} | String.prototype.trim = function() { var end = this.length, start = -1; while (this.charCodeAt(--end) < 33); while (++start < end && this.charCodeAt(start) < 33); return this.slice(start, end + 1); }; |
ba=hideLoadingIndicator;showLoadingIndicator()}function o(d){ha=d}function E(d){if(d){d="(function() {"+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 e... | var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function u(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... | ba=hideLoadingIndicator;showLoadingIndicator()}function o(d){ha=d}function E(d){if(d){d="(function() {"+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 e... |
x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="... | 4)i=4;e+=c+"button="+i;if(typeof j.keyCode!=="undefined")e+=c+"keyCode="+j.keyCode;if(typeof j.charCode!=="undefined")e+=c+"charCode="+j.charCode;if(j.altKey)e+=c+"altKey=1";if(j.ctrlKey)e+=c+"ctrlKey=1";if(j.metaKey)e+=c+"metaKey=1";if(j.shiftKey)e+=c+"shiftKey=1";d.data=e;return d}function S(){for(var d="",c=false,e=... | x()}function U(d,c,e){var j=function(){var i=m.getElement(d);if(i){if(e)i.timer=setTimeout(i.tm,c);else{i.timer=null;i.tm=null}i.onclick&&i.onclick()}},n=m.getElement(d);n.timer=setTimeout(j,c);n.tm=j}function M(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function G(d){if(R[d]!==true){typeof R[d]!=="... |
d)}else s()}}function n(){K.abort();N=K=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(K!=n... | d)}else s()}}function n(){J.abort();N=J=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(J!=n... | d)}else s()}}function n(){K.abort();N=K=null;R||s()}function H(d,c,f,k){g.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var m={},i=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=k;z[i]=aa(m,i);u();j();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function u(){if(K!=n... |
function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0... | 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... | function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0... |
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{_$_$... | f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("blur",c,true)}o.history._initialize();aa();if(!fa){fa=true;_$_ONLOAD_$_();P||(V=setTimeout(e,_$_KEEP_ALIVE_$_000))}}function n(d){clearTimeout(d)... | 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,true);document.addEventListener("blur",c,true)}n.history._initialize();T();if(!ga){ga=true;_$_ONLOAD_$_();P||(W=setTimeout(a,_$_KEEP_ALIVE_$_000))}}function h(d){clearTimeout(d);document.body.style.cursor="auto";if(ba!=null){try{ba()}catch(c){}ba=null}}function k(){document.body.style.cursor="wait";ba=hideLoadingIndi... | 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);... | d,true);document.addEventListener("blur",c,true)}n.history._initialize();T();if(!ga){ga=true;_$_ONLOAD_$_();P||(W=setTimeout(a,_$_KEEP_ALIVE_$_000))}}function h(d){clearTimeout(d);document.body.style.cursor="auto";if(ba!=null){try{ba()}catch(c){}ba=null}}function k(){document.body.style.cursor="wait";ba=hideLoadingIndi... |
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... |
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var... | }return true;}});(function(){var l={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(n){var o,p=n.config,q=p.baseHref?'<base href="'+p.baseHref+'"/>':'',r=b.isCustomDomain();if(p.fullPage)o=n.getData().replace(/<head>/,'$&'+q).replace(/[^>]*(?=<\/title>)/,n.lang.preview);else{var s='<body ',t=n.document&&n.docume... | s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var... |
b;b=v}if(!b&&a)b=function(){return a.apply(e||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||d.guid++;return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a))b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))b={browser:"opera",version:/opera[\/ ]([\w.]+)/};el... | b;b=v}if(!b&&a)b=function(){return a.apply(e||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a))b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))b={browser:"opera",version:/opera[\/ ]([\w.]+)/};el... | b;b=v}if(!b&&a)b=function(){return a.apply(e||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||d.guid++;return b},uaMatch:function(a){var b={browser:""};a=a.toLowerCase();if(/webkit/.test(a))b={browser:"webkit",version:/webkit[\/ ]([\w.]+)/};else if(/opera/.test(a))b={browser:"opera",version:/opera[\/ ]([\w.]+)/};el... |
var ss = prefs.getValue("originalPreferenceSessionStore", true); | uninstallHandler: function() { //TODO: this doesn't work. dunno how to catch the secret FUEL notifications yet... //TODO: explain to user what will be uninstalled and offer extra // options (e.g. "Uninstall KeePass too?") // Reset prefs to pre-KeeFox settings var rs = p... | |
Application.prefs.setValue("browser.sessionstore.enabled", ss); | uninstallHandler: function() { //TODO: this doesn't work. dunno how to catch the secret FUEL notifications yet... //TODO: explain to user what will be uninstalled and offer extra // options (e.g. "Uninstall KeePass too?") // Reset prefs to pre-KeeFox settings var rs = p... | |
return f},show:function(){a.style.height=I+"px";if(l)l.style.height=G+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe... | return f},show:function(){a.style.height=G+"px";if(l)l.style.height=H+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe... | return f},show:function(){a.style.height=I+"px";if(l)l.style.height=G+"px";return f},isHidden:function(){return l&&parseInt(l.style.height,10)===0},load:function(g){if(!l&&f._fireEvent("onBeforeLoad")!==false){o(e,function(){this.unload()});if((F=a.innerHTML)&&!flashembed.isSupported(b.version))a.innerHTML="";flashembe... |
b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style... | b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.contains=function(a,b){for(b=b.parentNode;b!=null&&b.tagName.toLowerCase()!="body"... | b){return a.nodeType==1&&a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.remove=function(a){(a=g.getElement(a))&&a.parentNode.removeChild(a)};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style... |
0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... |
0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... |
this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.sty... | "application/xhtml+xml").documentElement;if(l.nodeType!=1)l=l.nextSibling;if(!f)a.innerHTML="";b=0;for(f=l.childNodes.length;b<f;)a.appendChild(m(l.childNodes[b++],true))}};this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(... | this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.sty... |
a.style.width};this.unwrap=function(a){a=g.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")==0){var b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className.substring(8);g.isIE?b.style.setAttribute("cssText",a.getAttribute("style")):b.setAttribute("style",a.getAttribute("style"));a.parentNode.repla... | b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=a.style.width};this.unwrap=function(a){a=g.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")==0){var b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className... | a.style.width};this.unwrap=function(a){a=g.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")==0){var b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className.substring(8);g.isIE?b.style.setAttribute("cssText",a.getAttribute("style")):b.setAttribute("style",a.getAttribute("style"));a.parentNode.repla... |
wrapped.setAttribute('style', e.getAttribute('style')); | if (WT.isIE) wrapped.style.setAttribute('cssText', e.getAttribute('style')); else wrapped.setAttribute('style', e.getAttribute('style')); | this.unwrap = function(e) { e = WT.getElement(e); if (e.parentNode.className.indexOf('Wt-wrap') == 0) { var wrapped = e; e = e.parentNode; if (e.className.length >= 8) wrapped.className = e.className.substring(8); wrapped.setAttribute('style', e.getAttribute('style')); e.parentNode.replaceChild(wr... |
if(b.mergeAttributes){b.mergeAttributes(a,false);b.src=a.src}else if(a.attributes&&a.attributes.length>0){var f,l;f=0;for(l=a.attributes.length;f<l;f++){var n=a.attributes[f].nodeName;n!="type"&&n!="name"&&b.setAttribute(n,a.getAttribute(n))}}a.parentNode.replaceChild(b,a)}}};this.CancelPropagate=1;this.CancelDefaultAc... | if(b.mergeAttributes){b.mergeAttributes(a,false);b.src=a.src}else if(a.attributes&&a.attributes.length>0){var f,l;f=0;for(l=a.attributes.length;f<l;f++){var n=a.attributes[f].nodeName;n!="type"&&n!="name"&&b.setAttribute(n,a.getAttribute(n))}}a.parentNode.replaceChild(b,a)}}};var N=false;this.CancelPropagate=1;this.Can... | a.style.width};this.unwrap=function(a){a=g.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")==0){var b=a;a=a.parentNode;if(a.className.length>=8)b.className=a.className.substring(8);g.isIE?b.style.setAttribute("cssText",a.getAttribute("style")):b.setAttribute("style",a.getAttribute("style"));a.parentNode.repla... |
0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... |
0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... | 0?a.appendChild(b):a.insertBefore(b,a.childNodes[e])};this.unstub=function(a,b,e){if(e==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.style.left;b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.... |
this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.sty... | b.style.visibility=a.style.visibility}if(a.style.height)b.style.height=a.style.height;if(a.style.width)b.style.width=a.style.width};this.unwrap=function(a){a=k.getElement(a);if(a.parentNode.className.indexOf("Wt-wrap")==0){var b=a;a=a.parentNode;b.style.margin=a.style.margin;a.parentNode.replaceChild(b,a)}else{if(a.get... | this.hasTag=function(a,b){return a.tagName.toUpperCase()===b};this.insertAt=function(a,b,f){a.childNodes.length==0?a.appendChild(b):a.insertBefore(b,a.childNodes[f])};this.unstub=function(a,b,f){if(f==1){if(a.style.display!="none")b.style.display=a.style.display}else{b.style.position=a.style.position;b.style.left=a.sty... |
e))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){return this.each(function(){d(this).contents().wrapAll(a)})}... | unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&... | e))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){return this.each(function(){d(this).contents().wrapAll(a)})}... |
update: function(event, ui) { sortMapLayers(event , ui); } | update: function(event, ui) { sortMapLayers(event , ui); }, | update: function(event, ui) { sortMapLayers(event , ui); } |
console.info(new_url) | function update_graphs() { $('.gc-img').each(function () { var $this = $(this) var start = $('#timespan-menu').data('start'); var end = $('#timespan-menu').data('end'); var new_url = build_url($this.attr('src'), { 'start': start, 'end': end }); console.... | |
if ( paranoia_mode ) { reflink += "&showSamples=" + show_samples ; } | function update_reflink ( lanes , display ) { var sel = document.getElementById("chr_list"); var reflink = cgi_path + '/index.pl?show=' ; reflink += sel.options[sel.selectedIndex].value + ':' + cur_from + '-' + cur_to + ',' + display_mode ; reflink += '&lane=' + lanes + '&width=' + img_width ; if ( had_win ) reflink... | |
callURL('Config?special=UPDATE&edition=SWAP'); | callURL('Other/Display?action=NEXT_EDITION'); | function updateAffichage(option) { if (option == 'edition') { callURL('Config?special=UPDATE&edition=SWAP'); } else if (option == 'maps') { alert("not implemented"); } else if (option == 'details') { callURL('Config?special=UPDATE&details=SWAP'); } else { alert("Unknown option..."); } window.location.... |
callURL('Config?special=UPDATE&details=SWAP'); | callURL('Other/Display?action=SWAP_DETAILS'); | function updateAffichage(option) { if (option == 'edition') { callURL('Config?special=UPDATE&edition=SWAP'); } else if (option == 'maps') { alert("not implemented"); } else if (option == 'details') { callURL('Config?special=UPDATE&details=SWAP'); } else { alert("Unknown option..."); } window.location.... |
if (data != null && this.collapsed) | if (data != null) | updateArtifact : function(data) { Sonatype.Events.fireEvent(this.updateEventName, this, data); if (data != null && this.collapsed) { this.expand(); } }, |
$this.definition.mimes = (''+$('#mimes').val()).split("\n"); | $this.definition.mimes = (''+$('#mimes').val()).replace("\n", " ").split(" "); | updateDefinitionFromForm: function () { $this.definition.meta = $this.extractPropertyFields($('#meta-fields')); // Forcibly overwrite any edits to PFS ID with original value. $this.definition.meta.pfs_id = $this.pfs_id; $this.definition.mim... |
Ext.Ajax.timeout = 30000; | Ext.Ajax.timeout = 60000; | updateGlobalTimeout : function() { Ext.Ajax.request({ method : 'GET', scope : this, url : Sonatype.config.repos.urls.restApiSettings, callback : function(options, success, response) { if (success) { var dec = Ext.decode(respon... |
var oldBookmark = Ext.History.getToken(); if (bookmark != oldBookmark) | if (bookmark) | updateHistory : function(tab) { var bookmark = Sonatype.utils.getBookmark(tab); var oldBookmark = Ext.History.getToken(); if (bookmark != oldBookmark) { Ext.History.add(bookmark); } }, |
Ext.History.add(bookmark); | var oldBookmark = Ext.History.getToken(); if (bookmark != oldBookmark) { Ext.History.add(bookmark); } | updateHistory : function(tab) { var bookmark = Sonatype.utils.getBookmark(tab); var oldBookmark = Ext.History.getToken(); if (bookmark != oldBookmark) { Ext.History.add(bookmark); } }, |
this.artifactContainer.updateArtifact(payload); | updatePayload : function(payload) { if (payload == null) { this.collapse(); this.repositoryBrowser.updatePayload(null); this.artifactContainer.collapsePanel(); } else { this.expand(); this.repositoryBrowser.updatePayload(payload); ... | |
return utils.string.replaceAll(value, ' ', '-'); | var allowedChars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '_', ' ']; value = value.toLowerCase(); value = value.replace(/[\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5]/g, 'a'); ... | urlise: function(value) { return utils.string.replaceAll(value, ' ', '-'); }, |
context.fork("additional", 0, this, function (context) { context.title[0] += " (additional)"; context.filter = context.parent.filter; context.completions = context.parent.completions; let match = context.filters[0]; context.filters[0] = function (item) !match.call(this, item); let tokens = context.filter.split(/\s+... | urls: function (context, tags) { let compare = String.localeCompare; let contains = String.indexOf; if (context.ignoreCase) { compare = util.compareIgnoreCase; contains = function (a, b) a && a.toLowerCase().indexOf(b.toLowerCase()) > -1; } if (tags) ... | |
ia=(new Date).getTime()}else if(X){clearTimeout(Q);v()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}el... | function k(d){clearTimeout(d);document.body.style.cursor="auto";if(ba!=null){try{ba()}catch(c){}ba=null}}function h(){document.body.style.cursor="wait";ba=hideLoadingIndicator;showLoadingIndicator()}function o(d){ha=d}function E(d){if(d){d="(function() {"+d+"})();";window.execScript?window.execScript(d):window.eval(d)}... | ia=(new Date).getTime()}else if(X){clearTimeout(Q);v()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}el... |
if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e... | v()}}function F(d){ea=d;q._p_.comm.responseReceived(d)}function v(){Q=null;if(P){if(!ja){if(confirm("The application was quited, do you want to restart?"))document.location=document.location;ja=true}}else{var d,c,e,j="&rand="+Math.round(Math.random(ka)*1E5);if(A.length>0){d=S();c=d.feedback?setTimeout(k,_$_INDICATOR_TI... | if(!K){_$_$endif_$_();var m={},i=A.length;m.object=d;m.signal=c;m.event=e;m.feedback=j;A[i]=B(m,i);x();E();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function x(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){v()},n.updateDelay);ia=(new Date).getTime()}e... |
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... | var r=window.open('',null,o,true);if(!r)return false;try{r.moveTo(q,p);r.resizeTo(m,n);r.focus();r.location.href=l;}catch(s){r=window.open(l,null,o,true);}return true;}});(function(){var l={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(n){var o,p=n.config,q=p.baseHref?'<base href="'+p.baseHref+'"/>':'',r=b.isC... | }else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](... |
a===false?"":d.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(d.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.v... | l[q?"addClass":"removeClass"](h)}else if(e==="undefined"||e==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(... | a===false?"":d.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ia," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(d.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.v... |
}; | } | function validateWCSInfoWindow() { var win = Ext.getCmp('wcsDownloadFrm'); var form = win.getForm(); var timePositionFieldSet = Ext.getCmp('timePositionFldSet'); var timePeriodFieldSet = Ext.getCmp('timePeriodFldSet'); var bboxFieldSet = Ext.getCmp('bboxFldSet'); if (!form.isValid()) { Ext.Msg.alert('Invalid Fields','... |
var firstField = this.ownerCt.find('name', 'password')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } return true; } | var firstField = this.ownerCt.find('name', 'newPassword')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } return true; } | validator : function(s) { var firstField = this.ownerCt.find('name', 'password')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } return true; } |
validator : function(s) { var firstField = this.ownerCt.find('name', 'password')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } | validator : function(v) { if (v && v.length != 0 && v.match(WHITE_SPACE_REGEX)) { | validator : function(s) { var firstField = this.ownerCt.find('name', 'password')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } return true; } |
else { return 'Last Name cannot start with whitespace.'; } } | validator : function(s) { var firstField = this.ownerCt.find('name', 'password')[0]; if (firstField && firstField.getRawValue() != s) { return "Passwords don't match"; } return true; } | |
return this.each(function() { var el = new Validator($(this), conf); $(this).data("validator", el); }); | if (this.is("form")) { return this.each(function() { var form = $(this), validator = new Validator(form.find(":input"), form, conf); form.data("validator", validator); }); } else { var validator = new Validator(this, this.eq(0).closest("form"), conf); return this.data("validator", validator); } | $.fn.validator = function(conf) { // return existing instance if (this.data("validator")) { return this; } // configuration conf = $.extend(true, {}, v.conf, conf); // selector is a form return this.each(function() { var el = new Validator($(this), conf); $(this).data("validator", el); ... |
this.oninvalid = function() { return false; } | this.oninvalid = function() { return false; }; | function Validator(inputs, form, conf) { // private variables var self = this, fire = form.add(self); // make sure there are input fields available inputs = inputs.not(":button, :image, :reset, :submit"); if (!inputs.length) { throw "Validator: no input fields supplied"; } // utility function func... |
el.bind(event, function(e) { | el.bind(el.is(":date") ? "onHide" : event, function(e) { | function Validator(inputs, form, conf) { // private variables var self = this, fire = form.add(self); // make sure there are input fields available inputs = inputs.not(":button, :image, :reset, :submit"); // utility function function pushMessage(to, matcher, returnValue) { // only one message al... |
form.bind("reset", function() { $("." + conf.messageClass).remove(); inputs.removeClass(conf.errorClass).data("msg.el", null); }); | function Validator(inputs, form, conf) { // private variables var self = this, fire = form.add(self); // make sure there are input fields available inputs = inputs.not(":button, :image, :reset, :submit"); // utility function function pushMessage(to, matcher, returnValue) { // only one message al... | |
$(self).bind(name, fn); | if (fn) { $(self).bind(name, fn); } | function Validator(inputs, form, conf) { // private variables var self = this, fire = form.add(self); // make sure there are input fields available inputs = inputs.not(":button, :image, :reset, :submit"); // utility function function pushMessage(to, matcher, returnValue) { // only one message al... |
inputs = inputs.not(":button, :image, :reset, :submit, :hidden"); | inputs = inputs.not(":button, :image, :reset, :submit"); | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
fire = form.add(this), | fire = form.add(self), | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
msg = msg[conf.lang]; | msg = msg[conf.lang] || v.messages["*"].en; | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
el.bind(event, function() { self.checkValidity(el); | el.bind(event, function(e) { self.checkValidity(el, e); | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
if (errs.length) { e.type = "onFail"; fire.trigger(e, [errs]); if (!e.isDefaultPrevented()) { eff[0].call(self, errs); } | if (errs.length) { self.invalidate(errs, e); | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
eff[1].call(self, els); | eff[1].call(self, els, e); | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
fire.trigger(e); | fire.trigger(e, [els]); | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
if (!self.checkValidity()) { | if (!self.checkValidity(null, e)) { | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
self.checkValidity($(this)); | self.checkValidity($(this), e); | function Validator(form, conf) { // private variables var self = this, fire = form.add(this), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
function Validator(form, conf) { | function Validator(inputs, form, conf) { | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
fire = form.add(self), inputs = form.find(":input"); if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } | fire = form.add(self); | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
input.trigger("oninvalid", [val]); | input.trigger("OI", [val]); | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
el.trigger("oninvalid", [msgs]); | el.trigger("OI", [msgs]); | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
form[0].checkValidity = self.checkValidity; | if (form[0]) { form[0].checkValidity = self.checkValidity; } | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
} inputs.filter("[oninvalid]").each(function() { $(this).oninvalid(function() { $.globalEval($(this).attr("oninvalid")); }); }); | } inputs.filter(":checkbox, select").filter("[required]").change(function(e) { var el = $(this); if (this.checked || (el.is("select") && $(this).val())) { effects[conf.effect][1].call(self, el, e); } }); | function Validator(form, conf) { // private variables var self = this, fire = form.add(self), inputs = form.find(":input"); // inputs are given directly if (!inputs.length) { inputs = form.filter(":input").data("validator", self); form = inputs.eq(0).closest("form"); } inputs = inputs.not... |
if (!responseObj || !responseObj.variables) | if (!responseObj || !responseObj.variables) { | var variableListToForm = function (frm, responseObj) { if (!responseObj || !responseObj.variables) return; for (var i = 0; i < responseObj.variables.length; i++) { var variableFldSet = generateVariableFieldSet(responseObj.variables[i]); frm.add(variableFldSet); } frm.doLayout(); }; |
} | var variableListToForm = function (frm, responseObj) { if (!responseObj || !responseObj.variables) return; for (var i = 0; i < responseObj.variables.length; i++) { var variableFldSet = generateVariableFieldSet(responseObj.variables[i]); frm.add(variableFldSet); } frm.doLayout(); }; | |
return [$(window).width(), $(document).height()]; | return [$(document).width(), $(document).height()]; | function viewport() { // the horror case if ($.browser.msie) { // if there are no scrollbars then use window.height var d = $(document).height(), w = $(window).height(); return [ window.innerWidth || // ie7+ document.documentElement.clientWidth || // ie6 document.body.clientWidth, ... |
a.nodeName.toLowerCase()==="tr";return b===0&&e===0&&!g?true:b>0&&e>0&&!g?false:d.curCSS(a,"display")==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}x.jQuery=x.$=d})(window); | visible: function(a){return "hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";}, | a.nodeName.toLowerCase()==="tr";return b===0&&e===0&&!g?true:b>0&&e>0&&!g?false:d.curCSS(a,"display")==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}x.jQuery=x.$=d})(window); |
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... | 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... |
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... | function y(){if(K!=null&&L!=null){clearTimeout(L);K.abort();K=null}if(K==null)if(Q==null){Q=setTimeout(function(){w()},m.updateDelay);ia=(new Date).getTime()}else if(Y){clearTimeout(Q);w()}else if((new Date).getTime()-ia>m.updateDelay){clearTimeout(Q);w()}}function F(d){ea=d;r._p_.comm.responseReceived(d)}function w(){... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!... |
d=null;e=true}C=da._p_.comm.sendUpdate(ga+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.length;e.signal="user";e.id=typeof c==="string"?c:c==_$_APP_CLASS_$_?"app":c.id;if(typeof d==="object"){e.name=d.name;e.object=d.eventObject;e.event... | 0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"};d=null;e=true}C=ea._p_.comm.sendUpdate(ha+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.length;e.signal="user";e.id=typeof c==="strin... | d=null;e=true}C=da._p_.comm.sendUpdate(ga+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.length;e.signal="user";e.id=typeof c==="string"?c:c==_$_APP_CLASS_$_?"app":c.id;if(typeof d==="object"){e.name=d.name;e.object=d.eventObject;e.event... |
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 h=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";h;h=h.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... | 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 h=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";h;h=h.next... |
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... | d)}else F()}}function w(){I.abort();N=I=null;P||F()}function z(d,c,f,k){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!I){_$_$endif_$_();var h={},m=y.length;h.object=d;h.signal=c;h.event=f;h.feedback=k;y[m]=S(h,m);E();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function E(){if(I!=nu... | var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(C!=null){if(!a)a=window.event;h.condCall(C,"onmousemove",a);return false}els... |
0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"};d=null;e=true}C=ea._p_.comm.sendUpdate(ha+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.length;e.signal="user";e.id=typeof c==="strin... | Math.round(Math.random(ga)*1E5);if(v.length>0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"};d=null;e=true}C=ea._p_.comm.sendUpdate(ha+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.l... | 0){c=t();d=c.feedback?setTimeout(B,_$_INDICATOR_TIMEOUT_$_):null;e=false}else{c={result:"signal=poll"};d=null;e=true}C=ea._p_.comm.sendUpdate(ha+g,"request=jsupdate&"+c.result+"&ackId="+Y,d,Y,-1);K=e?setTimeout(y,_$_SERVER_PUSH_TIMEOUT_$_):null}}function w(c,d){var e={},g=v.length;e.signal="user";e.id=typeof c==="strin... |
if (geographyEls.length == 0) { | if (geographyEls.length === 0) { | var wcsHandler = function(activeLayerRecord) { //get our overlay manager (create if required) var overlayManager = activeLayerRecord.getOverlayManager(); if (!overlayManager) { overlayManager = new OverlayManager(map); activeLayerRecord.setOverlayManager(overlayManager); } overlayManag... |
selectedRecord.responseTooltip = new ResponseTooltip(); | selectedRecord.responseTooltip = new ResponseTooltip(); selectedRecord.debuggerData = new DebuggerData(); | var wfsHandler = function(selectedRecord) { //if there is already updateCSWRecords filter running for this record then don't call another if (selectedRecord.get('loadingStatus') == '<img src="js/external/extjs/resources/images/default/grid/loading.gif">') { Ext.MessageBox.show({ ... |
var featureString = selectedRecord.get('featureString'); var description = selectedRecord.get('description'); | var wfsHandler = function(selectedRecord) { //if there is already updateCSWRecords filter running for this record then don't call another if (selectedRecord.get('loadingStatus') == '<img src="js/external/extjs/resources/images/default/grid/loading.gif">') { Ext.MessageBox.show({ ... | |
filterParameters += '&bbox=' + escape(Ext.util.JSON.encode(fetchVisibleMapBounds(map))); | var wfsHandler = function(selectedRecord) { //if there is already updateCSWRecords filter running for this record then don't call another if (selectedRecord.get('loadingStatus') == '<img src="js/external/extjs/resources/images/default/grid/loading.gif">') { Ext.MessageBox.show({ ... | |
filterParameters += '&bbox=' + escape(Ext.util.JSON.encode(fetchVisibleMapBounds(map))); | var wfsHandler = function(selectedRecord) { //if there is already updateCSWRecords filter running for this record then don't call another if (selectedRecord.get('loadingStatus') == '<img src="js/external/extjs/resources/images/default/grid/loading.gif">') { Ext.MessageBox.show({ ... | |
function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.page... | document.body.scrollLeft-document.documentElement.scrollLeft,y:a.y-document.body.scrollTop-document.documentElement.scrollTop}};this.wheelDelta=function(a){var b=0;if(a.wheelDelta)b=a.wheelDelta>0?1:-1;else if(a.detail)b=a.detail<0?1:-1;return b};this.scrollIntoView=function(a){(a=document.getElementById(a))&&a.scrollI... | function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.page... |
window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.pageCoordinates(a);retur... | function(a){if(!a)a=window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.page... | window.event;var b=0,f=0;if(a.pageX||a.pageY){b=a.pageX;f=a.pageY}else if(a.clientX||a.clientY){b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;f=a.clientY+document.body.scrollTop+document.documentElement.scrollTop}return{x:b,y:f}};this.windowCoordinates=function(a){a=g.pageCoordinates(a);retur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.