rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
thiss.wait(function() { table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable should be initialized at that point");
}, function() { thiss.wait(function() { table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable should be initialized at that point");
thiss.wait(function() { table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable sho...
YAHOO.util.UserAction.click(YAHOO.util.Dom.get('my-accordion$hide-314466'), {clientX: 1}); thiss.closeAccordionCase(thiss, '_314466') }, 200);
YAHOO.util.UserAction.click(YAHOO.util.Dom.get('my-accordion$hide-314466'), {clientX: 1}); thiss.closeAccordionCase(thiss, '_314466') }, 200); });
thiss.wait(function() { table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable sho...
item.addSubscriber(this, "close", function() { self.remove(item); });
toClose.forEach(function(child) { child.removeSubscriber(self, "close"); child.close(); });
item.addSubscriber(this, "close", function() { self.remove(item); });
var input = list.prevAll('label').find('input')[0];
var input = list.prev().find('input')[0];
$('.tags > li').live('click', function() { var list = $(this.parentNode); var input = list.prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); input.focus(); if (list.hasClass('singular')) { input.value = tag; } else if(list.hasClass('inline')) { var start = input.selectionStar...
$('#' + id + '_lg_jGraduate_Opacity').mousedown(function(evt) { setLgOpacitySlider(evt, $(this)); bSlidingOpacity = true; evt.preventDefault(); }).mousemove(function(evt) {
}).mousemove(function(evt) { if (bSlidingOpacity) { setLgOpacitySlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) {
$('#' + id + '_lg_jGraduate_Opacity').mousedown(function(evt) { setLgOpacitySlider(evt, $(this)); bSlidingOpacity = true; evt.preventDefault(); }).mousemove(function(evt) {
log(name+' is synced for '+aIndex+' ('+aEntry.label+')');
log(name+' is synced for '+aIndex+' ('+aEntry.label+')', 5);
aOptions.entries.forEach(function(aEntry, aIndex) { var history = this.getHistory(name, aOptions.windows[aIndex]); var currentEntries = history.currentEntries; if (currentEntries.indexOf(aOptions.currentEntry) > -1) { return; } if (currentEntries.indexOf(aEntry) > -1) { log(name+' is synced fo...
!function(JX) { JX.behavior._behaviors = {}; JX.behavior._initialized = {}; }(JX);
JX[name].listen = JX[name].listen || function() { throw new Error( this.__readable__ + '.listen(...): ' + error_message); };
!function(JX) { JX.behavior._behaviors = {}; JX.behavior._initialized = {};}(JX);
context.extends = context.get(item); return '';
expression.constant = node_list.evaluate( context ); return expression.resolve(context);
return function (context) { context.extends = context.get(item); return ''; };
XPCOMUtils.defineLazyGetter(PlacesUtils, "ghistory2", function() { return PlacesUtils.history.QueryInterface(Ci.nsIGlobalHistory2); });
annos = PlacesUtils.getAnnotationsForItem(aJSNode.id).filter(function(anno) { if (anno.name == PlacesUtils.LMANNO_FEEDURI) aJSNode.livemark = 1; if (anno.name == PlacesUtils.READ_ONLY_ANNO && aResolveShortcuts) { return false; } return true; });
XPCOMUtils.defineLazyGetter(PlacesUtils, "ghistory2", function() { return PlacesUtils.history.QueryInterface(Ci.nsIGlobalHistory2);});
} else if (!error && else_list) { else_list.evaluate(context, callback);
node_list.evaluate(context, function (error, result) { if (result !== last) { last = result; callback(error, result); } else { callback(error, ''); } });
r.find('td input').each(function() { this.checked = !this.checked; });
$('.selectable td, .subsection h4').live('click', function(e) { if (movable.delta || !/^(?:td|h4)$/i.test(e.target.nodeName)) { return true; } var r = $(this.parentNode).toggleClass('selected'); r.trigger($.Event(r.hasClass('selected') ? 'select' : 'deselect')); r.find('td input').each(function() { this.checked = !th...
r.find('td input').each(function() { this.checked = !this.checked; });
$(show_sel).mousedown(function(evt) { if($(show_sel).hasClass('disabled')) return false; var holder = $(show_sel.replace('_show','')); var l = holder.css('left'); var w = holder.width()*-1; var time = holder.data('shown_popop')?200:0; timer = setTimeout(function() { holder.css('left', w).show().animate({ left: l },150...
result.map(function(col,index,array){ var result=C.editorTab + table_alias +"." +col.text if (index < array.length -1) result +=","; return result; }).join("\n"),
$(show_sel).mousedown(function(evt) { if($(show_sel).hasClass('disabled')) return false; var holder = $(show_sel.replace('_show','')); var l = holder.css('left'); var w = holder.width()*-1; var time = holder.data('shown_popop')?200:0; timer = setTimeout(function() { // Show corr...
$('.bug-jump').find('[name=bug_id]').focus( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == bug_label ) { $(this).val(''); $(this).removeClass('field-default'); }
$('[name=source_query_id]').change( function() { $(this).parent().submit();
$('.bug-jump').find('[name=bug_id]').focus( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == bug_label ) { $(this).val(''); $(this).removeClass('field-default'); } });
$('[name=source_query_id]').change( function() { $(this).parent().submit();
$('.bug-jump').find('[name=bug_id]').focus( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == bug_label ) { $(this).val(''); $(this).removeClass('field-default'); }
$('[name=source_query_id]').change( function() { $(this).parent().submit(); });
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","left"],e=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=...
function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(e)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")}...
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","left"],e=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(e)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")}...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(e)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")}...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var f=b.element[0];h(f).not(f).map(function(){return a(this).button("widget")...
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top...
(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){...
b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var f=b.element[0];h(f).not(f).map(function(){return a(this).button("widget")...
(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){...
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",func...
b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var f=b.element[0];h(f).not(f).map(function(){return a(this).button("widget")...
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",func...
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",func...
g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(f){if(c.disabled)return false;if(f.keyCode==a.ui.keyCode.SPACE||f.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).b...
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",func...
YAHOO.util.Assert.isTrue(YAHOO.util.Dom.get("flavor-select1-full$$e3" + XFORMS_SEPARATOR_1 + "1").checked, "radio checked"); });
YAHOO.util.Assert.areEqual(initialFlavorValue, ORBEON.xforms.Controls.getCurrentValue(flavorSelect1)); });
}, function() { // Check vanilla radio is checked YAHOO.util.Assert.isTrue(YAHOO.util.Dom.get("flavor-select1-full$$e3" + XFORMS_SEPARATOR_1 + "1").checked, "radio checked"); });
aAddonList.forEach(function(aAddon) { if (aAddon.permissions & AddonManager.PERM_CAN_UPGRADE) { pendingChecks++; aAddon.findUpdates(updateCheckListener, AddonManager.UPDATE_WHEN_USER_REQUESTED); } });
this._search.addEventListener("command", function(aEvent) { var query = aEvent.target.value; gViewController.loadView("addons: }, false);
aAddonList.forEach(function(aAddon) { if (aAddon.permissions & AddonManager.PERM_CAN_UPGRADE) { pendingChecks++; aAddon.findUpdates(updateCheckListener, AddonManager.UPDATE_WHEN_USER_REQUESTED); } });
function() { ORBEON.xforms.Controls.updateInvalidVisited(targetControlElement); });
ORBEON.xforms.Events.runOnNext(ORBEON.xforms.Events.ajaxResponseProcessedEvent, function() { if (ORBEON.util.Dom.hasClass(control, "xforms-invalid")) ORBEON.util.Dom.addClass(control, "xforms-invalid-visited"); var alertElement = ORBEON.xforms.Controls._getControlLHHA(control, "alert"); if (alertElement != null && ORBE...
function() { ORBEON.xforms.Controls.updateInvalidVisited(targetControlElement); });
thiss.openAccordionCase(thiss, '_314459', function() {
thiss.wait(function() { table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable should be initialized at that point");
thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check t...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); var container...
YAHOO.util.UserAction.click(YAHOO.util.Dom.get('my-accordion$hide-314466'), {clientX: 1}); thiss.closeAccordionCase(thiss, '_314466') }, 200);
thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check t...
toRemove.forEach(function(child) { self.remove(child, {dontArrange: true});
this.$undoContainer.click(function(e) { if (e.target.nodeName != self.$undoContainer[0].nodeName) return; self.$undoContainer.fadeOut(function() { iQ(this).remove(); self.hidden = false; self.$undoContainer = null; iQ(self.container).show().animate({ "-moz-transform": "scale(1)", "opacity": 1 }, { duration: 170, com...
toRemove.forEach(function(child) { self.remove(child, {dontArrange: true}); });
}).mousemove(function(evt) { if (bSlidingOpacity) { setLgOpacitySlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) {
}).mouseup(function(evt) { setLgOpacitySlider(evt, $(this)); bSlidingOpacity = false; evt.preventDefault(); });
}).mousemove(function(evt) { if (bSlidingOpacity) { setLgOpacitySlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) {
'name': $('table input:checked').parents('tr').find('td').eq(0).text(),
'name': $.trim($('table input:checked').parents('tr').find('td').eq(0).text()),
$(function() { // Ugly DOM maintenance $('table:has(input)').addClass('selectable'); if (/[?&]debug[&=][^#]*#line-\d+$/.test(location.href)) { $('ol a').eq(parseInt(/\d+$/.exec(location.href)[0], 10) - 1).addClass('active'); } $('ul.tags > li').mousedown(silence); $('#nav').mouseover(silence); $('.orderable t...
var before = context.autoescaping; context.autoescaping = enable; out = node_list.evaluate( context ); context.autoescaping = before;
var out = ''; if (!context.blocks[name]) { context.blocks[name] = []; } context.blocks[name].unshift( node_list ); if (!context.extends) { context.push(); context.blocks[name].forEach( function (list) { out = list.evaluate( context ); context.set('block', { super: out }); }); context.pop(); }
return function (context) { var before = context.autoescaping; context.autoescaping = enable; out = node_list.evaluate( context ); context.autoescaping = before; return out; }
}
};
return function (context) { var before = context.autoescaping; context.autoescaping = enable; out = node_list.evaluate( context ); context.autoescaping = before; return out; }
} else if (else_list) { else_list.evaluate(context, callback);
return function (context, callback) { if (context.get(first) == context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } };
$(document).ready(function() { $('table:has(input)').addClass('selectable'); if (/[?&]debug[&=][^#]*#line-\d+$/.test(location.href)) { $('ol a').eq(parseInt(/\d+$/.exec(location.href)[0], 10) - 1).addClass('active'); } $('ul.tags > li').mousedown(silence); $('#nav').mouseover(silence); $('.orderable td, .subsection...
r.find('td input').each(function() { this.checked = !this.checked; });
$(document).ready(function() { // Ugly DOM maintenance $('table:has(input)').addClass('selectable'); if (/[?&]debug[&=][^#]*#line-\d+$/.test(location.href)) { $('ol a').eq(parseInt(/\d+$/.exec(location.href)[0], 10) - 1).addClass('active'); } $('ul.tags > li').mousedown(silence); $('#nav').mouseover(silence); ...
timer = setTimeout(function() { holder.css('left', w).show().animate({ left: l },150); holder.data('shown_popop',true); },time);
callback:C.cbHandler(function(result){ if (result.success){ win.hide(); C.main(); } else { Ext.getCmp("login_form").form.markInvalid(result.errors) } })
timer = setTimeout(function() { // Show corresponding menu holder.css('left', w).show().animate({ left: l },150); holder.data('shown_popop',true); },time);
var x = evt.pageX - stop_offset.left - 36;
var x = evt.pageX - stop_offset.left - 8;
$(stopMakerSVG).click(function(evt) { var target = evt.target; if(target.tagName === 'path') return; var x = evt.pageX - stop_offset.left - 36; x = x < 10 ? 10 : x > MAX + 10 ? MAX + 10: x; mkStop(x / MAX, 0, 0, true); evt.stopPropagation(); });
view.pxPerBp);
view.pxPerBp, containerStart, containerEnd);
this.trackIterate(function(track, view) { track.showRange(leftVisible, rightVisible, startBase, bpPerBlock, view.pxPerBp); });
$('.bug-jump').find('[name=bug_id]').blur( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == '' ) { $(this).val(bug_label); $(this).addClass('field-default'); }
$('[name=form_set_project]').children('[name=project_id]').change( function() { $(this).parent().submit();
$('.bug-jump').find('[name=bug_id]').blur( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == '' ) { $(this).val(bug_label); $(this).addClass('field-default'); } });
$('[name=form_set_project]').children('[name=project_id]').change( function() { $(this).parent().submit();
$('.bug-jump').find('[name=bug_id]').blur( function() { var bug_label = $('.bug-jump-form').find('[name=bug_label]').val(); if( $(this).val() == '' ) { $(this).val(bug_label); $(this).addClass('field-default'); }
$('[name=form_set_project]').children('[name=project_id]').change( function() { $(this).parent().submit(); });
r = new RegExp('href=["\']?\\.{2}/utilities/' + $(this).text());
r = new RegExp('href=["\']?(?:\\.{2}/utilities/)?' + $(this).text());
$(function() { // Ugly DOM maintenance $('table:has(input)').addClass('selectable'); if (/[?&]debug[&=][^#]*#line-\d+$/.test(location.href)) { $('ol a').eq(parseInt(/\d+$/.exec(location.href)[0], 10) - 1).addClass('active'); } $('ul.tags > li').mousedown(silence); $('#nav').mouseover(silence); $('.orderable t...
if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var f=d.closest(".ui-accordion-header");a.active=f.length?f:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all ui-corner-top...
g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(f){if(c.disabled)return false;if(f.keyCode==a.ui.keyCode.SPACE||f.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).b...
if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var f=d.closest(".ui-accordion-header");a.active=f.length?f:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all ui-corner-top...
"tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")...
g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(f){if(c.disabled)return false;if(f.keyCode==a.ui.keyCode.SPACE||f.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).b...
"tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")...
a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.br...
this.buttonElement.removeAttr("title");a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var b=this.element.is(":disabled")...
a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.br...
a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.br...
this.hasTitle||b.attr("title",c)}}else b.addClass("ui-button-text-only")}}});a.widget("ui.buttonset",{_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)}...
a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.br...
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?...
destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery);
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?...
down:g,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:g,autoHeight:e.autoHeight||e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDura...
(function(c,j){var k={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},l={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"...
down:g,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:g,autoHeight:e.autoHeight||e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDura...
(function(e){e.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var a=this,b=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","ar...
-1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g...
(function(e){e.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var a=this,b=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","ar...
(function(e){e.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var a=this,b=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","ar...
"button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-ic...
(function(e){e.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var a=this,b=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","ar...
c);break;case d.PAGE_DOWN:a._move("nextPage",c);break;case d.UP:a._move("previous",c);c.preventDefault();break;case d.DOWN:a._move("next",c);c.preventDefault();break;case d.ENTER:case d.NUMPAD_ENTER:a.menu.element.is(":visible")&&c.preventDefault();case d.TAB:if(!a.menu.active)return;a.menu.select(c);break;case d.ESCAP...
"button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-ic...
c);break;case d.PAGE_DOWN:a._move("nextPage",c);break;case d.UP:a._move("previous",c);c.preventDefault();break;case d.DOWN:a._move("next",c);c.preventDefault();break;case d.ENTER:case d.NUMPAD_ENTER:a.menu.element.is(":visible")&&c.preventDefault();case d.TAB:if(!a.menu.active)return;a.menu.select(c);break;case d.ESCAP...
var dhlCheckbox = YAHOO.util.Dom.get("flavor-select-full$$e2" + XFORMS_SEPARATOR_1 + "1"); dhlCheckbox.click();
var setToStrawBerryTrigger = YAHOO.util.Dom.get("set-to-strawberry" + XFORMS_SEPARATOR_1 + "1"); YAHOO.util.UserAction.click(setToStrawBerryTrigger);
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { // Click on key lime checkbox (in addition to already selected strawberry) var dhlCheckbox = YAHOO.util.Dom.get("flavor-select-full$$e2" + XFORMS_SEPARATOR_1 + "1"); dhlCheckbox.click(); }, function() {
gViewController.popState(function() { gViewController.currentViewObj.getListItemForID(aAddon.id).uninstall(); });
this._listBox.addEventListener("keydown", function(aEvent) { if (aEvent.keyCode == aEvent.DOM_VK_ENTER || aEvent.keyCode == aEvent.DOM_VK_RETURN) { var item = self._listBox.selectedItem; if (item) item.showInDetailView(); } }, false);
gViewController.popState(function() { gViewController.currentViewObj.getListItemForID(aAddon.id).uninstall(); });
}).mouseup(function() { clearTimeout(timer); var opt = $(this).attr('data-curopt'); if (toolButtonClick(show_sel)) { flyout_funcs[opt](); } });
callback:C.cbHandler(function(result){ if (result.success){ window.open("../db_manager/index.sjs?fuseaction=main&ds=" +value+"&auth_token=" + encodeURIComponent(result.token),"manage_" + value); } else return false })
}).mouseup(function() { clearTimeout(timer); var opt = $(this).attr('data-curopt'); if (toolButtonClick(show_sel)) { flyout_funcs[opt](); } });
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() {
thiss.openAccordionCase(thiss, '_314459', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); t...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true"); }, function() {
this._children.forEach(function(child) { child.removeClass("stacked")
self.$undoContainer.fadeOut(function() { iQ(this).remove(); self.hidden = false; self.$undoContainer = null; iQ(self.container).show().animate({ "-moz-transform": "scale(1)", "opacity": 1 }, { duration: 170, complete: function() { self._children.forEach(function(child) { iQ(child.container).show(); }); }
this._children.forEach(function(child) { child.removeClass("stacked") });
self._sendToSubscribers("groupShown", { groupItemId: self.id }); });
this._children.forEach(function(child) { child.removeClass("stacked") });
}).mouseup(function(evt) { setLgOpacitySlider(evt, $(this)); bSlidingOpacity = false;
$('.stop, #color_picker_lg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY;
}).mouseup(function(evt) { setLgOpacitySlider(evt, $(this)); bSlidingOpacity = false; evt.preventDefault(); });
return function (context) { var i, val; for (i = 0; i < choices.length; i++) { var val = context.get(choices[i]); if (val) { return val; } } return ''; }
context.blocks[name].forEach( function (list) { out = list.evaluate( context ); context.set('block', { super: out }); });
return function (context) { var i, val; for (i = 0; i < choices.length; i++) { var val = context.get(choices[i]); if (val) { return val; } } return ''; }
} else if (else_list) { else_list.evaluate(context, callback);
return function (context, callback) { if (context.get(first) != context.get(second)) { node_list.evaluate(context, callback); } else { callback(false, ''); } };
ORBEON.xforms.Events.runOnNext(ORBEON.xforms.Events.ajaxResponseProcessedEvent, function() { if (ORBEON.util.Dom.hasClass(control, "xforms-invalid")) ORBEON.util.Dom.addClass(control, "xforms-invalid-visited"); var alertElement = ORBEON.xforms.Controls._getControlLHHA(control, "alert"); if (alertElement != null && ORBE...
offlineIframe.contentWindow.ORBEON.xforms.Events.ajaxResponseProcessedEvent.subscribe(function() { formOnlineListener(offlineIframe.contentWindow); });
ORBEON.xforms.Events.runOnNext(ORBEON.xforms.Events.ajaxResponseProcessedEvent, function() { if (ORBEON.util.Dom.hasClass(control, "xforms-invalid")) ORBEON.util.Dom.addClass(control, "xforms-invalid-visited"); var alertElement = ORBEON.xforms.Controls._getCo...
$('#change-password').each(function() { if ($('div.invalid', $(this)).length > 0) return; var a = $(this), b = a.next('p.help').remove(); if (a.find('label').length !== 3 && a.find('label').length !== 2) { return; } a.before('<div class="label">' + Symphony.Language.get('Password') + ' <span><button id="change-pas...
$('.selectable tr').each(function(i) { if (i > from && i < to) { var r = $(this).toggleClass('selected'); r.trigger($.Event(r.hasClass('selected') ? 'select' : 'deselect')); r.find('td input').each(function() { this.checked = !this.checked; }); } });
$('#change-password').each(function() { // Do not hide fields if there is some error there. if ($('div.invalid', $(this)).length > 0) return; var a = $(this), b = a.next('p.help').remove(); if (a.find('label').length !== 3 && a.find('label').length !== 2) { return; } a.before('<div class="label">...
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(thi...
[];return{browser:j[1]||"",version:j[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(j,s){R["[object "+s+"]"]=s.toLowerCase()});m=b.uaMatch(m);if(m.browser){b.browser[m.browser]=true;b.browser.version=m.version}if(b.browser.webkit)b.browser.safari=true;if(D)b....
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(thi...
$('[name=source_query_id]').change( function() { $(this).parent().submit();
$('input[type=checkbox]#use_date_filters').live('click', function() { if (!$(this).is(':checked')) { $('div.filter-box select[name=start_year]').attr('disabled', 'disabled'); $('div.filter-box select[name=start_month]').attr('disabled', 'disabled'); $('div.filter-box select[name=start_day]').attr('disabled', 'disabled'...
$('[name=source_query_id]').change( function() { $(this).parent().submit(); });
break}}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){ret...
"button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-ic...
break}}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){ret...
break}}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){ret...
a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("...
break}}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){ret...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable"...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==nu...
c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^ke...
close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this._trigger("close",a);this.menu.element.hide();this.menu.deactivate()}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].va...
a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==nu...
close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this._trigger("close",a);this.menu.element.hide();this.menu.deactivate()}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].va...
this.menu.element.empty().zIndex(this.element.zIndex()+1),c;this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();this.menu.element.show().position(e.extend({of:this.element},this.options.position));a=b.width("").outerWidth();c=this.element.outerWidth();b.outerWidth(Math.max(a,c))},_renderMenu:function(a,b){...
a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==nu...
this.menu.element.empty().zIndex(this.element.zIndex()+1),c;this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();this.menu.element.show().position(e.extend({of:this.element},this.options.position));a=b.width("").outerWidth();c=this.element.outerWidth();b.outerWidth(Math.max(a,c))},_renderMenu:function(a,b){...
b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ...
g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];...
b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return ...
setTimeout(function() { gDownloadMgr = Cc["@mozilla.org/download-manager;1"]. getService(Ci.nsIDownloadManager); DownloadMonitorPanel.init(); if (Win7Features) { let tempScope = {}; Cu.import("resource: tempScope); tempScope.DownloadTaskbarProgress.onBrowserWindowLoad(window); } }, 10000);
yield aArray.reduce(function (aPrev, aCurr, aIndex) { if (num & 1 << aIndex) aPrev.push(aCurr); return aPrev; }, []);
setTimeout(function() { gDownloadMgr = Cc["@mozilla.org/download-manager;1"]. getService(Ci.nsIDownloadManager); // Initialize the downloads monitor panel listener DownloadMonitorPanel.init(); if (Win7Features) { let tempScope = {}; Cu.import("resource://gre/modules/DownloadTas...
YAHOO.util.Assert.isTrue(this.getSelect("flavor-select-compact" + XFORMS_SEPARATOR_1 + "1").options[1].selected, "strawberry is selected"); YAHOO.util.Assert.isTrue(this.getSelect("flavor-select-compact" + XFORMS_SEPARATOR_1 + "1").options[2].selected, "key lime is selected");
YAHOO.util.Assert.isTrue(YAHOO.util.Dom.get("flavor-select1-full$$e1" + XFORMS_SEPARATOR_1 + "1").checked, "radio is checked"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.get("flavor-select-full$$e1" + XFORMS_SEPARATOR_1 + "1").checked, "checkbox is checked"); YAHOO.util.Assert.isTrue(this.getSelect("flavor-select1-compac...
}, function() { // Check strawberry and key lime are selected in the list YAHOO.util.Assert.isTrue(this.getSelect("flavor-select-compact" + XFORMS_SEPARATOR_1 + "1").options[1].selected, "strawberry is selected"); YAHOO.util.Assert.isTrue(this.getSelect("flavor-select-compac...
AddonManager.getInstallForFile(file, function(aInstall) { installs.push(aInstall); buildNextInstall(); });
AddonManager.getAddonsByTypes(null, function(aAddonsList) { for (let i = 0; i < aAddonsList.length; i++) { let addon = aAddonsList[i]; let score = 0; if (aQuery.length > 0) { score = self.getMatchScore(addon, aQuery); if (score == 0) continue; } let item = createItem(addon); item.setAttribute("relevancescore", score);...
AddonManager.getInstallForFile(file, function(aInstall) { installs.push(aInstall); buildNextInstall(); });
ObjectLib.forEach(dsInfo,function(v,k){ var f =form.findField(k) if (f && !f.getValue()){ f.setValue(v) } })
data: ObjectLib.getKeys(dbProperties).map(function(key){return [key]})
ObjectLib.forEach(dsInfo,function(v,k){ var f =form.findField(k) if (f && !f.getValue()){ f.setValue(v) } })
}, function() { var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); var container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-container'); thiss.checkPaginationLinks(container, ['-<< first', '-< prev', '-1', '+2', '+next >', '...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); ORBEON.xforms.Document.setValue("show", "true");
}, function() { // Check the table structure var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); var container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-...
table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-container'); thiss.checkPaginationLinks(container, []); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON...
}, function() { // Check the table structure var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); var container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-...
YAHOO.util.Event.onDOMReady(function() { YAHOO.widget.SimpleDialog.prototype.registerForm = function() {}; this._messageDialog = new YAHOO.widget.SimpleDialog("xforms-message-dialog", { width: "30em", fixedcenter: true, modal: true, close: false, visible: false, draggable: false, buttons: [{ text: "Close", handler: {...
ORBEON.util.Dom.applyOnFormElements(root, function(element) { if (disabled) { ORBEON.xforms.Controls.setDisabledOnFormElement(element, disabled); } else { if (! ORBEON.util.Dom.existsAncestorOrSelf(element, function(node) { return YAHOO.util.Dom.hasClass(node, "xforms-case-deselected") || YAHOO.util.Dom.hasClass(no...
YAHOO.util.Event.onDOMReady(function() { // Prevent SimpleDialog from registering itself on the form YAHOO.widget.SimpleDialog.prototype.registerForm = function() {}; // Create one single instance of the YUI dialog used for xforms:message this._mes...
this._children.forEach(function(child, index) { if (!child.locked.bounds) { child.setBounds(rects[index], !animate); child.setRotation(0); if (options.z) child.setZ(options.z); } });
self._children.forEach(function(child) { iQ(child.container).show(); });
this._children.forEach(function(child, index) { if (!child.locked.bounds) { child.setBounds(rects[index], !animate); child.setRotation(0); if (options.z) child.setZ(options.z); } });
$('.stop, #color_picker_lg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY; evt.preventDefault();
$('#'+id+'_lg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) + dy; if (x < MARGINX - STOP_RADIUS)...
$('.stop, #color_picker_lg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY; evt.preventDefault(); });
var item = context.get(variable); context.push(); context.set(name, item); var out = node_list.evaluate( context ); context.pop(); return out; }
context.extends = context.get(item); return ''; };
return function (context) { var item = context.get(variable); context.push(); context.set(name, item); var out = node_list.evaluate( context ); context.pop(); return out; }
$('#change-password').click(function() { $(this.parentNode.parentNode).replaceWith(b); a.insertBefore(b).find('input')[0].focus(); });
r.find('td input').each(function() { this.checked = !this.checked; });
$('#change-password').click(function() { $(this.parentNode.parentNode).replaceWith(b); a.insertBefore(b).find('input')[0].focus(); });
$('.tools_flyout').each(function() { var shower = $('#' + this.id + '_show'); var pos = shower.offset(); var w = shower.outerWidth(); $(this).css({left: pos.left + w, top: pos.top}); });
callback:C.cbHandler(function(result){ if (result.success){ C.infoMsg("Table '" + name + "' renamed to +'" + new_name + "'."); C.loadObjects(); } else return false; })
$('.tools_flyout').each(function() { var shower = $('#' + this.id + '_show'); var pos = shower.offset(); var w = shower.outerWidth(); $(this).css({left: pos.left + w, top: pos.top}); });
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(thi...
false);b.ready()};else if(t.attachEvent)u=function(){if(t.readyState==="complete"){t.detachEvent("onreadystatechange",u);b.ready()}};return E.jQuery=E.$=b}();(function(){c.support={};var a=t.documentElement,b=t.createElement("script"),d=t.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML=" <l...
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(thi...
$('[name=form_set_project]').children('[name=project_id]').change( function() { $(this).parent().submit();
$('#period_menu > select#interval').change(function() { if ($(this).val() == 10) { $('#dates > input[type=text].datetime').removeAttr('disabled'); $('#dates > input[type=image].datetime').show(); } else { $('#dates > input[type=text].datetime').attr('disabled', 'disabled'); $('#dates > input[type=image].datetime').hide...
$('[name=form_set_project]').children('[name=project_id]').change( function() { $(this).parent().submit(); });
(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(e(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh...
a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(a);e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);if(g in k)e=true;if(g in l)d[g]=f});e&&this._size();this...
(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(e(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh...
(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(e(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh...
c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui...
(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(e(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh...
e(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.attr("scrollTop"),f=this.element.height();if(c<0)this.element.attr("scrollTop",d+c);else c>f&&this.element.attr("scrollTop",d+c-f+b.heig...
c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui...
e(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.attr("scrollTop"),f=this.element.height();if(c<0)this.element.attr("scrollTop",d+c);else c>f&&this.element.attr("scrollTop",d+c-f+b.heig...
this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(":first"));else{var b=this.active.offset().top,c=this.element.height(),d=this.element.children("li").filter(function(){var f=e(this).offset().top-b-c+e(this).height();return f<10&&f>-10...
c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui...
this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(":first"));else{var b=this.active.offset().top,c=this.element.height(),d=this.element.children("li").filter(function(){var f=e(this).offset().top-b-c+e(this).height();return f<10&&f>-10...
this.first())this.activate(a,this.element.children(":last"));else{var b=this.active.offset().top,c=this.element.height();result=this.element.children("li").filter(function(){var d=e(this).offset().top-b+c-e(this).height();return d<10&&d>-10});result.length||(result=this.element.children(":first"));this.activate(a,resul...
a.remove();var b=0;c.each(this.instances,function(){b=Math.max(b,this.css("z-index"))});this.maxZ=b},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight)...
this.first())this.activate(a,this.element.children(":last"));else{var b=this.active.offset().top,c=this.element.height();result=this.element.children("li").filter(function(){var d=e(this).offset().top-b+c-e(this).height();return d<10&&d>-10});result.length||(result=this.element.children(":first"));this.activate(a,resul...
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dia...
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var a=this,b=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;thi...
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
if(b.values&&b.values.length)for(;d(".ui-slider-handle",this.element).length<b.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range)....
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,e=a([]);if(c)e=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return e};a.widge...
YAHOO.util.UserAction.click("set-out-of-range" + XFORMS_SEPARATOR_1 + "1"); }, function() {
var select1Id = "flavor-select1-compact" + XFORMS_SEPARATOR_1 + "1"; var select1Control = YAHOO.util.Dom.get(select1Id); var select1List = this.getSelect(select1Id); ORBEON.xforms.Controls.setCurrentValue(select1Control, select1List.options[3].value); ORBEON.xforms.Events.change({target: select1Control}); }, function()...
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("set-out-of-range" + XFORMS_SEPARATOR_1 + "1"); }, function() {
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "false"); }, function() {
}, function() { var table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); var container = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-container'); thiss.checkPaginationLinks(container, ['-<< first', '-< prev', '-1', '+2', '+next >', '...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "false"); }, function() {
this._children.forEach(function(child) { if (child == self.topChild) children.unshift(child); else children.push(child);
undoClose.click(function() { self.$undoContainer.fadeOut(remove);
this._children.forEach(function(child) { if (child == self.topChild) children.unshift(child); else children.push(child); });
yuiCalendar.renderEvent.subscribe(function() { var monthLeft = YAHOO.util.Dom.getElementsByClassName("calnavleft", null, calendarDiv)[0]; var yearLeft = document.createElement("a"); yearLeft.innerHTML = "Previous Year"; yearLeft.href = "#"; YAHOO.util.Dom.addClass(yearLeft, "calyearleft"); YAHOO.util.Dom.insertBefore(...
doNothingSingleton[methodName] = function(){};
yuiCalendar.renderEvent.subscribe(function() { // Add "previous year" link var monthLeft = YAHOO.util.Dom.getElementsByClassName("calnavleft", null, calendarDiv)[0]; var yearLeft = document.createElement("a"); yearLeft.innerHTML...
$('#'+id+'_lg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) + dy; if (x < MARGINX - STOP_RADIUS)...
$('#'+id+'_lg_jgraduate_svg').mouseup(function(evt) { draggingStop = null;
$('#'+id+'_lg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) ...
doNothingSingleton[methodName] = function(){};
if (! ORBEON.util.Dom.existsAncestorOrSelf(element, function(node) { return YAHOO.util.Dom.hasClass(node, "xforms-case-deselected") || YAHOO.util.Dom.hasClass(node, "xforms-disabled") }, null, false)) {
doNothingSingleton[methodName] = function(){};
$('<em>' + Symphony.Language.get('Remove File') + '</em>').appendTo('label.file:has(a) span').click(function() {
$(document).ready(function() { $('table:has(input)').addClass('selectable'); if (/[?&]debug[&=][^#]*#line-\d+$/.test(location.href)) { $('ol a').eq(parseInt(/\d+$/.exec(location.href)[0], 10) - 1).addClass('active'); } $('ul.tags > li').mousedown(silence); $('#nav').mouseover(silence); $('.orderable td, .subsection...
$('<em>' + Symphony.Language.get('Remove File') + '</em>').appendTo('label.file:has(a) span').click(function() { var s = $(this.parentNode), d = '<input name="' + $(this).siblings('input').attr('name') + '" type="file">'; setTimeout(function() { s.html(d); }, 50); // Delayed to avoid WebKit clickthrough bug...
$('button.confirm').live('click', function() { var n = document.title.split(/[\u2013]\s*/g)[2], t = (n ? 'Are you sure you want to {$action} {$name}?' : 'Are you sure you want to {$action}?'); return confirm(Symphony.Language.get(t, { 'action': this.firstChild.data.toLowerCase(), 'name': n })); }); if ($('[name=with-...
$('<em>' + Symphony.Language.get('Remove File') + '</em>').appendTo('label.file:has(a) span').click(function() { var s = $(this.parentNode), d = '<input name="' + $(this).siblings('input').attr('name') + '" type="file">'; setTimeout(function() { s.html(d); }, 50); // Delayed to avoid WebKit clickthrough bug...
i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").spl...
false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t...
i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").spl...