rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
var cleanUpWhenLeavingContainer = function(selectionContext) { if (selectionContext.options.onLeaveContainer) { selectionContext.options.onLeaveContainer( selectionContext.selectables[selectionContext.activeItemIndex]); } else if (selectionContext.options.onUnselect) { selectionContext.options.onUnselect( selectionCont... | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var cleanUpWhenLeavingContainer = function(selectionContext) { if (selectionContext.options.onLeaveContainer) { selectionContext.options.onLeaveContainer( selectionContext.selectables[selectionContext.activeItemIndex]); } else if (selectionContext.options.onUnselect) { ... |
clear : function() { this.domBuilder.clear(); this.params.clear(); this.values.clear(); }, | return this;}};function yFeedProcessor(){var _self=this;var layout="";var toolbarmanager=null;var localstorage=CC["@yahoo.com/localstorage;1"].getService(CI.nsIYahooLocalStorage);var mFileIO=CC["@yahoo.com/fileio;1"].getService(CI.nsIYahooFileIO2);var mConfigMgr=CC["@yahoo.com/configmanager;1"].getService(CI.nsIYahooCo... | clear : function() { this.domBuilder.clear(); this.params.clear(); this.values.clear(); }, |
clear : function(){ try{ this.removables = []; this.toolbar = null; this.menubar = null; this.menubarExtra = null; this.toolar_context = null; this.page_context = null; this.alerts = null; this.toolbar = this.toolbarDoc.createDocumentFragment(); this.menubar = this.document.createDocumentFragment(); this.menubarExtra ... | this.clear=function(){try{_self.removables=[];_self.toolbar=null;_self.menubar=null;_self.menubarExtra=null;_self.toolar_context=null;_self.page_context=null;_self.alerts=null;_mCNADom=null;_mFAVDom=null;_mReqBtns=null;_mBtns=null;_mRightAlignBtns=null;_self.toolbar=_mToolbarDocument.createDocumentFragment();_self.menu... | clear : function(){ try{ this.removables = []; this.toolbar = null; this.menubar = null; this.menubarExtra = null; this.toolar_context = null; this.page_context = null; this.alerts = null; // Init document fragments ... |
that.clear = function () { cache = {}; }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | that.clear = function () { cache = {}; }; |
clearBM2 : function(){ try{ this.bookmarks = null; this.bookmarks = this.document.createDocumentFragment(); } catch(e){ } }, | +id+"_btn")){_self.removables[i].parentNode.removeChild(_self.removables[i]);_self.removables[i]=null;}}}catch(e){yahooError(e);}};this.clearBM2=function(){try{_self.bookmarks=null;_self.bookmarks=_mDocument.createDocumentFragment();}catch(e){yahooError(e);}};this.buildBM2=function(dom,parent){var recursionBase=(parent... | clearBM2 : function(){ try{ this.bookmarks = null; this.bookmarks = this.document.createDocumentFragment(); } catch(e){ } }, |
clearBM2Usage : function() { for (key in this.bm2Usage) { this.bm2Usage[key] = null; } this.bm2Usage = []; }, | return str;};this.clearBM2Usage=function(){for(key in _self.bm2Usage){_self.bm2Usage[key]=null;} _self.bm2Usage=[];};this.QueryInterface=function(iid){if(!iid.equals(CI.nsIYahooDomBuilder)&&!iid.equals(CI.nsISupports)){throw Components.results.NS_ERROR_NO_INTERFACE;} | clearBM2Usage : function() { for (key in this.bm2Usage) { this.bm2Usage[key] = null; } this.bm2Usage = []; }, |
{ __cache_object.clear(); }; | { __cache_object.XMLDocument.childNodes[0].attributes.length = 0; }; | clearBrowserCache = function() { __cache_object.clear(); }; |
clearData : function() { this.mValues = []; this.mIdx = 0; }, | return null;},clearData:function(){this.mDataStore=[];}};function YahooSearchIndexer(){this.mFileIO=CC[YahooExtConfig.mProgID+"/fileio;1"].getService(CI.nsIYahooFileIO2);try{var fileIO=this.mFileIO;var xml=fileIO.readChromeContentFile("search_settings.xml");SearchWeightConfig.loadPreference(xml);}catch(e){} | clearData : function() { this.mValues = []; this.mIdx = 0; }, |
var clearEmptyViewStyles = function (textEl, defaultViewStyle, originalViewPadding) { textEl.removeClass(defaultViewStyle); textEl.css('padding-right', originalViewPadding); }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var clearEmptyViewStyles = function (textEl, defaultViewStyle, originalViewPadding) { textEl.removeClass(defaultViewStyle); textEl.css('padding-right', originalViewPadding); }; |
clearInstantWebResults : function() { this.mInstantWebResultCache.clearData(); }, | return rs;},clearInstantWebResults:function(){this.mInstantWebResultCache.clearData();},addInstantWebResults:function(term,iwr){var data=this.mInstantWebResultCache.addData(term);data.populateWithResultSet(iwr)},getPNLData:function(term){var tokens=yahooUtils.tokenizeText(term);var matches=this.mPNLDataHash.getValues(t... | clearInstantWebResults : function() { this.mInstantWebResultCache.clearData();}, |
if (orderDateTmp >= stopDateTmp){ | if (buildJavascriptDateObject(orderDateTmp) >= buildJavascriptDateObject(stopDateTmp)){ | function clearOrder(){ if (action == 1){ if (orderDateTmp >= stopDateTmp){ alert('<spring:message code="mdrtb.orderenddatebeforestopdate" />'); } else { if (reasonTmp != null && reasonTmp != "" && stopDateTmp != null && stopDateTmp != ""){ MdrtbOrder.discontinueOrder(orderIdTmp, stopDateTmp, reaso... |
window.location="${pageContext.request.contextPath}/module/mdrtb/regimen/regimen.form?patientId=${obj.patient.patientId}"; | window.location="${pageContext.request.contextPath}/module/mdrtb/regimen/regimen.form?patientId=${obj.patient.patientId}&patientProgramId=${patientProgramId}"; | function clearOrder(){ if (action == 1){ if (buildJavascriptDateObject(orderDateTmp) >= buildJavascriptDateObject(stopDateTmp)){ alert('<spring:message code="mdrtb.orderenddatebeforestopdate" />'); } else { if (reasonTmp != null && reasonTmp != "" && stopDateTmp != null && stopDateTmp != ""){ Mdrt... |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | clearQueue: function( type ) { return this.queue( type || "fx", [] ); } | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
clearRows : function() { this.mValues = []; this.mRowIdx = 0; this.mMetaData.clearData(); this.mPopulatedType = 0; }, | YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi... | clearRows : function() { this.mValues = []; this.mRowIdx = 0; this.mMetaData.clearData(); this.mPopulatedType = 0; }, |
clearSearchHistory : function() { this.mUserSearchHistory = []; this.saveSearchHistory(); }, | rs.populateWithStringTable(tmpStrTable);rs.spliceResults(count);return rs;},clearSearchHistory:function(){ytbDebug("Clearing search history");this.mUserSearchHistory=[];this.saveSearchHistory();},clearNavigationHistory:function(){this.mPNLDataHash=new BinaryStrSearchHash();this.mUserInstantHistory=[];this.saveInstantHi... | clearSearchHistory : function() { this.mUserSearchHistory = []; this.saveSearchHistory(); }, |
clearYahooBookmarkData : function() { this.mYaooBookmarkData = []; }, | try{this.mYaooBookmarkData=[];var node=bookmarkdata.documentElement.childNodes[3].childNodes[1];for(var idx=0;idx<node.childNodes.length;idx++){if(node.childNodes[idx].getAttribute&&node.childNodes[idx].getAttribute("type")=="F"){addBookmarksToList(node.childNodes[idx],this.mYaooBookmarkData);}}}catch(e){ytbDebug(e);}}... | clearYahooBookmarkData : function() { this.mYaooBookmarkData = [];}, |
div.attachEvent("onclick", function click() { jQuery.support.noCloneEvent = false; div.detachEvent("onclick", click); }); | click: function( e ) { var elem = e.target, type = elem.type; if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) { return testChange.call( this, e ); } }, | div.attachEvent("onclick", function click() { // Cloning a node shouldn't copy over any // bound event handlers (IE does this) jQuery.support.noCloneEvent = false; div.detachEvent("onclick", click); }); |
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... | div.attachEvent("onclick", function click() { jQuery.support.noCloneEvent = false; div.detachEvent("onclick", click); }); | (function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^... |
var el = $(this), props = ['position','top','left','height','width']; | var el = $(this), props = ['position','top','bottom','left','right','height','width']; | $.effects.clip = function(o) { return this.queue(function() { // Create element var el = $(this), props = ['position','top','left','height','width']; // Set options var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode var direction = o.options.direction || 'vertical'; // Default direction // Ad... |
clone : function() { var ret = new YahooResultSet(); for (var idx = 0; idx < this.mValues.length; idx++) { ret.mValues.push(this.mValues[idx].clone()); } return ret; } | YahooResultSet.prototype={COL_TEXT:"TEXT",COL_URL:"URL",COL_DESC:"DESCRIPTION",COL_TIME_DIFF:"TIME_DIFF",COL_HIT_COUNT:"HIT_COUNT",COL_KEY:"KEY",COL_HIDDEN_URL:"HIDDEN_URL",addMetaData:function(name){this.mMetaData.addString(name);},getMetaData:function(){return this.mMetaData;},clearRows:function(){this.mValues=[];thi... | clone : function() { var ret = new YahooResultSet(); for (var idx = 0; idx < this.mValues.length; idx++) { ret.mValues.push(this.mValues[idx].clone()); } return ret; } |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | clone: function( events ) { var ret = this.map(function() { if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) { var html = this.outerHTML, ownerDocument = this.ownerDocument; if ( !html ) { var div = ownerDocument.createElement("div"); div.appendChild( this.cloneNode(true) ); html = div.innerHTML; ... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
clone: function( events ) { var ret = this.map(function(){ if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) { var html = this.outerHTML; if ( !html ) { var div = this.ownerDocument.createElement("div"); div.appendChild( this.cloneNode(true) ); html = div.innerHTML; } return jQuery.clean([html.rep... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | clone: function( events ) { // Do the clone var ret = this.map(function(){ if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) { // IE copies events bound via attachEvent when // using cloneNode. Calling detachEvent on the // clone will also remove the events from the orignal // In order to g... |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | function cloneCopyEvent(orig, ret) { var i = 0; ret.each(function() { if ( this.nodeName !== (orig[i] && orig[i].nodeName) ) { return; } var oldData = jQuery.data( orig[i++] ), curData = jQuery.data( this, oldData ), events = oldData && oldData.events; if ( events ) { delete curData.handle; curData.events = {}; for... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
this.menu.deactivate(); | close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { this._trigger( "close", event ); this.menu.element.hide(); } if ( this.previous != this.element.val() ) { this._trigger( "change", event ); } }, | |
same( $(".ui-menu").length, 1 ); | same( $(".ui-menu:visible").length, 1 ); | close: function(event) { same(event.type, "autocompleteclose"); same( $(".ui-menu").length, 1 ); }, |
if (this.tooltip.is(':animated')) this.tooltip.stop().fadeTo("normal", 0, function() { $(this).hide().css("opacity", ""); }); else this.tooltip.stop().fadeOut(); | this.tooltip.stop(false, true).fadeOut(); | close: function(event) { if (!this.current) return; var current = this.current.attr("title", this.currentTitle); this.current = null; if (this.options.disabled) return; current.removeAttr("aria-describedby"); this.tooltip.attr("aria-hidden", "true"); if (this.tooltip.is(':animated')) this.tooltip... |
if ( this.previous != this.element.val() ) { | if ( this.previous !== this.element.val() ) { | close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { this._trigger( "close", event ); this.menu.element.hide(); this.menu.deactivate(); } if ( this.previous != this.element.val() ) { this._trigger( "change", event ); } }, |
maxZ; | maxZ, thisZ; | close: function(event) { var self = this, maxZ; if (false === self._trigger('beforeClose', event)) { return; } if (self.overlay) { self.overlay.destroy(); } self.uiDialog.unbind('keypress.ui-dialog'); self._isOpen = false; if (self.options.hide) { self.uiDialog.hide(self.options.hide, function() { ... |
maxZ = Math.max(maxZ, $(this).css('z-index')); | thisZ = $(this).css('z-index'); if(!isNaN(thisZ)) { maxZ = Math.max(maxZ, thisZ); } | close: function(event) { var self = this, maxZ; if (false === self._trigger('beforeClose', event)) { return; } if (self.overlay) { self.overlay.destroy(); } self.uiDialog.unbind('keypress.ui-dialog'); self._isOpen = false; if (self.options.hide) { self.uiDialog.hide(self.options.hide, function() { ... |
that.options.inputField.focus(); | that.close = function () { cspace.util.globalDismissal(union); that.container.dialog("close"); that.container.html(""); that.options.inputField.focus(); }; | |
close: function() { | close: function(event) { | close: function() { if (!this.current) return; var current = this.current.attr("title", this.currentTitle); this.current = null; if (this.options.disabled) return; current.removeAttr("aria-describedby"); this.tooltip.attr("aria-hidden", "true"); if (this.tooltip.is(':animated')) this.tooltip.stop... |
this._trigger( "close" ); | this._trigger( "close", event ); | close: function() { if (!this.current) return; var current = this.current.attr("title", this.currentTitle); this.current = null; if (this.options.disabled) return; current.removeAttr("aria-describedby"); this.tooltip.attr("aria-hidden", "true"); if (this.tooltip.is(':animated')) this.tooltip.stop... |
this._trigger( "close", event ); | close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { this._trigger( "close", event ); this.menu.element.hide(); this.menu.deactivate(); } }, | |
this._trigger( "close", event ); | close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { this._trigger( "close", event ); this.menu.element.hide(); this.menu.deactivate(); } }, | |
$(event.target).tooltip("widget").stop(false, true).hide(); } | var self = this, maxZ; if (false === self._trigger('beforeClose', event)) { return; } if (self.overlay) { self.overlay.destroy(); } self.uiDialog.unbind('keypress.ui-dialog'); self._isOpen = false; if (self.options.hide) { self.uiDialog.hide(self.options.hide, function() { self._trigger('close', event); }); } else ... | close: function(event) { $(event.target).tooltip("widget").stop(false, true).hide(); } |
if ( this.menu ) { | if ( this.menu.element.is(":visible") ) { | close: function( event ) { clearTimeout( this.closing ); if ( this.menu ) { this._trigger( "close", event ); this.menu.element.remove(); this.menu = null; } if ( this.previous != this.element.val() ) { this._trigger( "change", event ); } }, |
this.menu.element.remove(); this.menu = null; | this.menu.element.hide(); | close: function( event ) { clearTimeout( this.closing ); if ( this.menu ) { this._trigger( "close", event ); this.menu.element.remove(); this.menu = null; } if ( this.previous != this.element.val() ) { this._trigger( "change", event ); } }, |
if (a === 0 && b === 0) { return; } | assert.close = function( a , b , msg ){ var diff = Math.abs( (a-b)/((a+b)/2) ); if ( diff < .001 ) return; doassert( a + " is not close to " + b + " diff: " + diff + " : " + msg );} | |
close: function(event) { var self = this; if (false === self._trigger('beforeclose', event)) { return; } (self.overlay && self.overlay.destroy()); self.uiDialog.unbind('keypress.ui-dialog'); (self.options.hide ? self.uiDialog.hide(self.options.hide, function() { self._trigger('close', event); }) : self.uiDialog.hide... | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | close: function(event) { var self = this; if (false === self._trigger('beforeclose', event)) { return; } (self.overlay && self.overlay.destroy()); self.uiDialog.unbind('keypress.ui-dialog'); (self.options.hide ? self.uiDialog.hide(self.options.hide, function() { self._trigger('close', event); }) : s... |
that.dlg.dialog("close"); | that.close = function () { that.updateEventListeners("remove"); that.dlg.dialog("close"); }; | |
self._isOpen = false; | close: function(event) { var self = this; if (false === self._trigger('beforeClose', event)) { return; } (self.overlay && self.overlay.destroy()); self.uiDialog.unbind('keypress.ui-dialog'); (self.options.hide ? self.uiDialog.hide(self.options.hide, function() { self._trigger('close', event); }) : s... | |
cspace.util.globalDismissal(that.container); | cspace.util.globalDismissal(union); | that.close = function() { cspace.util.globalDismissal(that.container); that.container.dialog("close"); that.container.html(""); }; |
that.options.inputField.focus(); | that.close = function() { cspace.util.globalDismissal(that.container); that.container.dialog("close"); that.container.html(""); }; | |
removeActionListeners(that.options.actionSuccessEvents, that.navigate, that.options.actionErrorEvents, that.close); | that.updateEventListeners("remove"); | that.close = function () { removeActionListeners(that.options.actionSuccessEvents, that.navigate, that.options.actionErrorEvents, that.close); that.dlg.dialog("close"); }; |
that.events.afterClose.fire(); | that.close = function () { removeActionListeners(that.options.actionSuccessEvents, that.navigate, that.options.actionErrorEvents, that.close); that.dlg.dialog("close"); }; | |
same( $(".ui-menu:visible").length, 1 ); | same( $(".ui-menu:visible").length, 0 ); | close: function(event) { same(event.type, "autocompleteclose"); same( $(".ui-menu:visible").length, 1 ); }, |
if ( this.previous !== this.element.val() ) { this._trigger( "change", event ); } | close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { this._trigger( "close", event ); this.menu.element.hide(); this.menu.deactivate(); } if ( this.previous !== this.element.val() ) { this._trigger( "change", event ); } }, | |
expandedTags : this.formPanel.tagsPanel.expanded, | expandedTags : (this.formPanel.tagsPanel) ? this.formPanel.tagsPanel.expanded : false, | close : function(){ var box = this.elmBase.boxObject; QuickPostForm.dialog[ps.type] = { expandedForm : this.formPanel.expanded, expandedTags : this.formPanel.tagsPanel.expanded, size : { width : box.width, height : box.height, }, }; // フォーカスを戻すと複数フォームを開いていたときに背後に回ってしまう // getMostRecentWindow().foc... |
close: function() { ok( !el.dialog("isOpen"), "dialog is not open during close" ); } | d2 = $('<div title="dialog 2">Dialog 2</div>').dialog({modal: true, close: function(){ d2.remove()}}); | close: function() { ok( !el.dialog("isOpen"), "dialog is not open during close" ); } |
var button = $("<a href=\"#\"><img /></a>"); | var button = $(that.options.markup); | cspace.autocomplete.closeButton = function(container, options) { var that = fluid.initView("cspace.autocomplete.closeButton", container, options); var button = $("<a href=\"#\"><img /></a>"); $("img", button).attr("src", that.options.buttonUrl); button.addClass(that.options.styles.button... |
$("img", button).attr("src", that.options.buttonUrl); | $("img", button).attr("src", that.options.buttonImageUrl); | cspace.autocomplete.closeButton = function(container, options) { var that = fluid.initView("cspace.autocomplete.closeButton", container, options); var button = $(that.options.markup); $("img", button).attr("src", that.options.buttonUrl); button.addClass(that.options.styles.button); ... |
that.container.append(button); | button.insertAfter(that.container); | cspace.autocomplete.closeButton = function(container, options) { var that = fluid.initView("cspace.autocomplete.closeButton", container, options); var button = $(that.options.markup); $("img", button).attr("src", that.options.buttonUrl); button.addClass(that.options.styles.button); ... |
that.show = function() { button.show(); cspace.internalPositioner(that.container, button, that.options.positionAdjustment.x, that.options.positionAdjustment.y); } that.hide = function() { button.hide(); } | cspace.autocomplete.closeButton = function(container, options) { var that = fluid.initView("cspace.autocomplete.closeButton", container, options); var button = $(that.options.markup); $("img", button).attr("src", that.options.buttonUrl); button.addClass(that.options.styles.button); ... | |
return newok;},closeConnection:function() {if(this.dataConnection!=null) {try{this.dataConnection.close();}catch(e){} try{this.dataConnection=null;}catch(e){}} this.aTableData=null;this.aTableType=null;this.aColumns=null;},getFileName:function() | this.selectQuery('INSERT OR REPLACE INTO tb_version values(1,'+this.version+')');return newok;},closeConnection:function(){if(this.dataConnection!=null){try{this.dataConnection.close();this.dataConnection=null;}catch(e){}} this.aTableData=null;this.aTableType=null;this.aColumns=null;},getRecords:function(){return this.... | return newok;},closeConnection:function(){if(this.dataConnection!=null){try{this.dataConnection.close();}catch(e){}try{this.dataConnection=null;}catch(e){}}this.aTableData=null;this.aTableType=null;this.aColumns=null;},getFileName:function() |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | closest: function( selectors, context ) { if ( jQuery.isArray( selectors ) ) { var ret = [], cur = this[0], match, matches = {}, selector; if ( cur && selectors.length ) { for ( var i = 0, l = selectors.length; i < l; i++ ) { selector = selectors[i]; if ( !matches[selector] ) { matches[selector] = jQuery.expr.match.P... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
closest: function( selector ) { var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null, closer = 0; return this.map(function(){ var cur = this; while ( cur && cur.ownerDocument ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { jQuery.data(cur, "closest", closer); return cur; } cur =... | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | closest: function( selector ) { var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null, closer = 0; return this.map(function(){ var cur = this; while ( cur && cur.ownerDocument ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { jQuery.data(cur, "closest", closer); ... |
function closeTag() { if (!trc.iselide) { out += "</" + trc.uselump.tagname + ">"; } } | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | function closeTag() { if (!trc.iselide) { out += "</" + trc.uselump.tagname + ">"; } } |
var csidList = []; | if (recordType.indexOf("authorities-") === 0) { recordType = recordType.substring(12); } | var colDefsGenerated = function (columnList, recordType, selectable) { var csidList = []; var colDefs = fluid.transform(columnList, function (object, index) { var key = "col:"; var comp; if (object === "number") { key = "number"; comp = { ... |
target: recordType + ".html?csid=${*.number}", | target: recordType + ".html?csid=${*.csid}", | var colDefsGenerated = function (columnList, recordType) { return fluid.transform(columnList, function (object, index) { var key = "col:"; var comp; if (object === "number") { key = "number"; comp = { target: recordType + ".htm... |
linktext: fluid.VALUE | linktext: "${*.number}" | var colDefsGenerated = function (columnList, recordType) { return fluid.transform(columnList, function (object, index) { var key = "col:"; var comp; if (object === "number") { key = "number"; comp = { target: recordType + ".htm... |
media = match[1].split(__re.c); | media = match[1].split(REGEXP_COMMA); | function collapseAtMedia( css, match, id ) { media = match[1].split(__re.c); styles = match[2]; createMediaContainers( media ); __media_groups[id] = { media: media, styles: styles }; return css.replace( match[0], PH_ATMEDIA + '{id:' + id + CLOSE_CURLY ); } |
dvrconfig: true, | Ext.extend(tvheadend.Comet = function() { this.addEvents({ accessUpdate: true, tvAdapter: true, dvbMux: true, dvbStore: true, dvbSatConf: true, logmessage: true, channeltags: true, autorec: true, dvrdb: true, channels: true });}, Ext.util.Observable); | |
var boxid = null; | tvheadend.cometPoller = function() { var failures = 0; var boxid = null; var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_r... | |
url: 'comet', | url: 'comet/poll', | tvheadend.cometPoller = function() { var failures = 0; var boxid = null; var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_r... |
boxid: (boxid ? boxid : null), | boxid: (tvheadend.boxid ? tvheadend.boxid : null), | tvheadend.cometPoller = function() { var failures = 0; var boxid = null; var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_r... |
boxid = response.boxid | tvheadend.boxid = response.boxid | tvheadend.cometPoller = function() { var failures = 0; var boxid = null; var cometRequest = new Ext.util.DelayedTask(function() { Ext.Ajax.request({ url: 'comet', params : { boxid: (boxid ? boxid : null), immediate: failures > 0 ? 1 : 0 }, success: function(result, request) { parse_comet_r... |
var oldModel = {}; | oldModel = {}; | commit: function() { if (cancelled) { return false; } var ret = fireAgglomerated("postGuards", "transListeners", changes, [newModel, null, internalApplier], 1); if (ret === false) { ... |
var complete = function() { if(!self) return; return self._completed.apply(self, arguments); }; | complete: function() { if ( !options.autoHeight ) { options.toShow.css("height", ""); } options.toShow.css("width", originalWidth); options.toShow.css({overflow: overflow}); options.complete(); } | var complete = function() { if(!self) return; return self._completed.apply(self, arguments); }; |
loadSkin(player, xmlrequest.responseXML, completeHandler); | loadSkin(player, xmlrequest.responseXML); | complete: function(xmlrequest, textStatus) { if (textStatus == "success") { loadSkin(player, xmlrequest.responseXML, completeHandler); } else { loadSkin(player, $.fn.jwplayerDefaultSkin, completeHandler); } } |
loadSkin(player, $.fn.jwplayerDefaultSkin, completeHandler); | loadSkin(player, $.fn.jwplayerDefaultSkin); | complete: function(xmlrequest, textStatus) { if (textStatus == "success") { loadSkin(player, xmlrequest.responseXML, completeHandler); } else { loadSkin(player, $.fn.jwplayerDefaultSkin, completeHandler); } } |
loadSkin(player, xmlrequest.responseText, completeHandler); | loadSkin(player, xmlrequest.responseXML, completeHandler); | complete: function(xmlrequest, textStatus) { if (textStatus == "success") { loadSkin(player, xmlrequest.responseText, completeHandler); } else { loadSkin(player, $.fn.jwplayerDefaultSkin, completeHandler); } } |
*/ | complete: function(XMLHttpRequest, textStatus) { if (textStatus == 'success' || textStatus == 'notmodified') { if (opts.ajaxCache) { $(document.body).data('btCache-' + url.replace(/\./g, ''), XMLHttpRequest.responseText); } ... | |
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | opt.complete = function() { if ( opt.queue !== false ) { jQuery(this).dequeue(); } if ( jQuery.isFunction( opt.old ) ) { opt.old.call( this ); } }; | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... |
opt.complete = function(){ if ( opt.queue !== false ) jQuery(this).dequeue(); if ( jQuery.isFunction( opt.old ) ) opt.old.call( this ); }; | }(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(sele... | opt.complete = function(){ if ( opt.queue !== false ) jQuery(this).dequeue(); if ( jQuery.isFunction( opt.old ) ) opt.old.call( this ); }; |
return jwplayer(player); | return jwplayer(player.id); | function complete(player) { return function(arg) { addEventListener(player, $.fn.jwplayer.events.JWPLAYER_MEDIA_COMPLETE, arg); return jwplayer(player); }; } |
reporter = new APE.test.TestReporter(runner); reporter.insertBefore(document.body); | reporter = new APE.test.TestReporter(runner, document.body); | function completeHandler() { if(testCaseData.oncomplete) { testCaseData.oncomplete(); } else { reporter = new APE.test.TestReporter(runner); reporter.insertBefore(document.body); } } |
insertBefore = insertBefore || document.body.lastChild; | var insertBefore = appendTo.lastChild || document.body.lastChild; | function completeHandler() { passEl = document.createElement("b"); passEl.appendChild(document.createTextNode("\u00a0PASS")); passEl.className = "pass-flag"; insertBefore = insertBefore || document.body.lastChild; var ul = makeTree(this);// ul.className = "test-report... |
function completeImageLoad(img, element, component, player, completeHandler) { | function completeImageLoad(img, element, component, player) { | function completeImageLoad(img, element, component, player, completeHandler) { return function() { player.skin[component].elements[element] = { height: img.height, width: img.width, src: img.src }; player.skin.incompleteElements--; if ((player.skin.incompleteElements === 0) && (player.skin.loading ==... |
player.skin[component].elements[element] = { height: img.height, width: img.width, src: img.src }; player.skin.incompleteElements--; if ((player.skin.incompleteElements === 0) && (player.skin.loading === false)) { completeHandler(); } | player.skin[component].elements[element].height = img.height; player.skin[component].elements[element].width = img.width; player.skin[component].elements[element].src = img.src; player.skin[component].elements[element].ready = true; resetCompleteIntervalTest(player); | function completeImageLoad(img, element, component, player, completeHandler) { return function() { player.skin[component].elements[element] = { height: img.height, width: img.width, src: img.src }; player.skin.incompleteElements--; if ((player.skin.incompleteElements === 0) && (player.skin.loading ==... |
fluid.ComponentReference = function(reference) { this.reference = reference; }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | fluid.ComponentReference = function(reference) { this.reference = reference; }; |
fluid.pathUtil.composePath = function(prefix, suffix) { if (prefix.length !== 0) { prefix += '.'; } return composeSegment(prefix, suffix); }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | fluid.pathUtil.composePath = function(prefix, suffix) { if (prefix.length !== 0) { prefix += '.'; } return composeSegment(prefix, suffix); }; |
var composeSegment = function(prefix, toappend) { for (var i = 0; i < toappend.length; ++i) { var c = toappend.charAt(i); if (c === '.' || c === '\\' || c === '}') { prefix += '\\'; } prefix += c; } return prefix; }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var composeSegment = function(prefix, toappend) { for (var i = 0; i < toappend.length; ++i) { var c = toappend.charAt(i); if (c === '.' || c === '\\' || c === '}') { prefix += '\\'; } prefix += c; } return prefix; }; |
setStatusMessage('<span style="font-weight: bold;">'+ lang_compressingFolder +'</span>'); xajax_doXMLHTTP("felamimail.ajaxfelamimail.compressFolder"); | window.setStatusMessage('<span style="font-weight: bold;">'+ lang_compressingFolder +'</span>'); window.xajax_doXMLHTTP("felamimail.ajaxfelamimail.compressFolder"); | function compressFolder() { if (document.getElementById('messageCounter').innerHTML.search(eval('/'+lang_updating_view+'/'))<0 ) {MessageBuffer = document.getElementById('messageCounter').innerHTML;} setStatusMessage('<span style="font-weight: bold;">'+ lang_compressingFolder +'</span>'); xajax_doXMLHTTP("felamimail.aj... |
if (document.getElementById('messageCounter').innerHTML.search(eval('/'+lang_updating_view+'/'))<0 ) {MessageBuffer = document.getElementById('messageCounter').innerHTML;} window.setStatusMessage('<span style="font-weight: bold;">'+ lang_compressingFolder +'</span>'); window.xajax_doXMLHTTP("felamimail.ajaxfelamimail.c... | if (document.getElementById('messageCounter').innerHTML.search(eval('/'+egw_appWindow('felamimail').lang_updating_view+'/'))<0 ) {MessageBuffer = document.getElementById('messageCounter').innerHTML;} egw_appWindow('felamimail').setStatusMessage('<span style="font-weight: bold;">'+ egw_appWindow('felamimail').lang_compr... | function compressFolder() { if (document.getElementById('messageCounter').innerHTML.search(eval('/'+lang_updating_view+'/'))<0 ) {MessageBuffer = document.getElementById('messageCounter').innerHTML;} window.setStatusMessage('<span style="font-weight: bold;">'+ lang_compressingFolder +'</span>'); window.xajax_doXMLHTTP(... |
function computeFullID(component) { var togo = ""; var move = component; if (component.children === undefined) { togo = component.ID + (component.localID !== undefined? component.localID : ""); move = component.parent; } while (move.parent) { var parent = move.parent; if (move.fullID !== undefined) { togo = move.fullI... | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | function computeFullID(component) { var togo = ""; var move = component; if (component.children === undefined) { // not a container // unusual case on the client-side, since a repetitive leaf may have localID blasted onto it. togo = component.ID + (component.localID !== undefined? component.localID... |
} | }; | fluid.computeNickName = function(typeName) { var segs = fluid.model.parseEL(typeName); return segs[segs.length - 1]; } |
function computePageCount(model) { model.pageCount = Math.max(1, Math.floor((model.totalRange - 1) / model.pageSize) + 1); } | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | function computePageCount(model) { model.pageCount = Math.max(1, Math.floor((model.totalRange - 1) / model.pageSize) + 1); } |
function computePageLimit(model) { return Math.min(model.totalRange, (model.pageIndex + 1) * model.pageSize); } | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | function computePageLimit(model) { return Math.min(model.totalRange, (model.pageIndex + 1) * model.pageSize); } |
var cDataBlock = []; for (var i = 0; i < node.childNodes.length; i++) { cDataBlock.push(node.childNodes[i].data); | var cDataBlock = []; for (var i = 0; i < node.childNodes.length; i++) { cDataBlock.push(node.childNodes[i].data); } return cDataBlock.join(''); | concatCDATABlocks : function(/*Node*/ node) { var cDataBlock = []; // response may contain several blocks for (var i = 0; i < node.childNodes.length; i++) { cDataBlock.push(node.childNodes[i].data); } return cDataBlock.join(''); }, |
return cDataBlock.join(''); }, | concatCDATABlocks : function(/*Node*/ node) { var cDataBlock = []; // response may contain several blocks for (var i = 0; i < node.childNodes.length; i++) { cDataBlock.push(node.childNodes[i].data); } return cDataBlock.join(''); }, | |
} | }; | var condPusher = function (comp) { comp.ID = key; target[target.length] = comp; } |
function configure() { var select = document.getElementById('configSelection_pid'); var pid = select.options[select.selectedIndex].value; var parm = pluginRoot + '/' + pid; $.post(parm, null, displayConfigForm, "json"); | function configure(pid, create) { var uri = pluginRoot + '/' + pid; $.post(create ? uri + '?create=1' : uri, null, displayConfigForm, 'json'); | function configure() { var select = document.getElementById('configSelection_pid'); var pid = select.options[select.selectedIndex].value; var parm = pluginRoot + '/' + pid; $.post(parm, null, displayConfigForm, "json");} |
var configureInlineEdit = function (configurationName, container, options) { var defaults = fluid.defaults(configurationName); var assembleOptions = fluid.merge(defaults? defaults.mergePolicy: null, {}, defaults, options); return fluid.inlineEdit(container, assembleOptions); }; | (function($){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false... | var configureInlineEdit = function (configurationName, container, options) { var defaults = fluid.defaults(configurationName); var assembleOptions = fluid.merge(defaults? defaults.mergePolicy: null, {}, defaults, options); return fluid.inlineEdit(container, assembleOptions); }; |
components: { relationManager: { options: { components: { searchToRelateDialog: { options: { listeners: { afterRender: handler } } } } } } | listeners: { afterSetup: handler | var configureSTRDialog = function (handler, primary, related) { var opts = { components: { relationManager: { options: { components: { searchToRelateDialog: { options: { ... |
that.model = {href: "#"}; | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; // destination to nav to on successful navigation that.updateEventListeners = function (action) { updateHandlerForEvents(act... | |
updateHandlerForEvents(action, that.options.actionSuccessEvents, that.options.successHandler(that), "successHandler"); | updateHandlerForEvents(action, that.options.actionSuccessEvents, that.successHandler, "successHandler"); | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; // destination to nav to on successful navigation that.updateEventListeners = function (action) { updateHandlerForEvents(act... |
that.open = function (targetHref) { that.model.href = targetHref; | that.open = function (successHandlerCreator, options) { that.successHandler = (successHandlerCreator || that.options.successHandlerCreator)(that, options); | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; // destination to nav to on successful navigation that.updateEventListeners = function (action) { updateHandlerForEvents(act... |
that.dlg.dialog("close"); | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; // destination to nav to on successful navigation that.updateEventListeners = function (action) { updateHandlerForEvents(act... | |
updateHandlerForEvents(action, that.options.actionSuccessEvents, that.options.successHandler(that)); updateHandlerForEvents(action, that.options.actionErrorEvents, that.close); | updateHandlerForEvents(action, that.options.actionSuccessEvents, that.options.successHandler(that), "successHandler"); updateHandlerForEvents(action, that.options.actionErrorEvents, that.close, "errorHandler"); | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; // destination to nav to on successful navigation that.updateEventListeners = function (action) { updateHandlerForEvents(action, that... |
that.navigate = function () { removeActionListeners(that.options.actionSuccessEvents, that.navigate, that.options.actionErrorEvents, that.close); window.location = that.model.href; }; | that.updateEventListeners = function (action) { updateHandlerForEvents(action, that.options.actionSuccessEvents, that.options.successHandler(that)); updateHandlerForEvents(action, that.options.actionErrorEvents, that.close); }; | cspace.confirmation = function (container, options) { var that = fluid.initView("cspace.confirmation", container, options); that.model = {href: "#"}; that.dlg = setupConfirmation(that); that.navigate = function () { removeActionListeners(that.options.actionSuccessEvents, that.navigate,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.