rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
var html = template_loader.load('template.html').render(test_context);
var html = template_system.load('template.html').render(test_context);
['^/text$', function (req, res) { var html = template_loader.load('template.html').render(test_context); dj.respond(res, html, 'text/plain'); }]
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { if (mutation._session == this.getSessionId()) { return } this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.server.subscribeToItemMutations(it...
this._channelMessageHandler = bind(this, function(channel, message) { channel = String.fromCharCode.apply(String, Array.prototype.slice.call(channel, 0)) message = String.fromCharCode.apply(String, Array.prototype.slice.call(message, 0)) this.sendFrame('FIN_EVENT_CHANNEL_MESSAGE', { channel: channel, message: message...
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id var onMutated = bind(this, function(mutation) { if (mutation._session == this.getSessionId()) { return } this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.server.subscribeTo...
var template = $(source).clone();
var template = $(source).clone(true);
objects = objects.map(function() { var object = this; var templates = []; var widgets = { controls: null, selector: null, constructor: null, topcontrols: null, collapser: null }; var silence = function() { return false; }; // Construct a new instance: var construct = function(s...
var template = $(this).remove();
var template = $(this).clone(true);
objects = objects.map(function() { var object = this; var templates = []; var widgets = { controls: null, selector: null, constructor: null, topcontrols: null, collapser: null }; var silence = function() { return false; }; // Construct a new instance: var construct = function(s...
$(this).remove();
objects = objects.map(function() { var object = this; var templates = []; var widgets = { controls: null, selector: null, constructor: null, topcontrols: null, collapser: null }; var silence = function() { return false; }; // Construct a new instance: var construct = function(s...
(function(){var B=YAHOO.util.Dom,A=YAHOO.util.Event,C=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(F){var E=this.getMenu().getItems();if(E.length==...
(function(){var b=YAHOO.util.Dom,a=YAHOO.util.Event,c=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(f){var e=this.getMenu().getItems();if(e.length==...
(function(){var B=YAHOO.util.Dom,A=YAHOO.util.Event,C=YAHOO.lang;if(YAHOO.widget.Button){YAHOO.widget.ToolbarButtonAdvanced=YAHOO.widget.Button;YAHOO.widget.ToolbarButtonAdvanced.prototype.buttonType="rich";YAHOO.widget.ToolbarButtonAdvanced.prototype.checkValue=function(F){var E=this.getMenu().getItems();if(E.length==...
OT.executeCausingAjaxRequest(this, function() {
OUT.executeCausingAjaxRequest(this, function() {
OT.executeCausingAjaxRequest(this, function() { button.click(); }, function() {
}]
}], usearia: true, role: "alertdialog"
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...
var bodyDiv = YD.getElementsByClassName("bd", null, dialogDiv)[0]; bodyDiv.setAttribute("aria-live", "polite"); bodyDiv.setAttribute("role", "alert");
dialogDiv.setAttribute("aria-live", "polite");
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...
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}f...
"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e...
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}f...
this.server.getItem(itemId, bind(this, function(item) { var callback = bind(this, 'sendFrame', 'FIN_EVENT_ITEM_MUTATED') this._itemSubscriptions[itemId] = this.server.subscribeToItemMutations(item, callback) this.sendFrame('FIN_EVENT_ITEM_SNAPSHOT', item.getProperties()) }))
var onMutated = bind(this, function(mutation) { this.sendFrame('FIN_EVENT_ITEM_MUTATED', mutation) }) this._itemSubs[itemId] = this.server.subscribeToItemMutations(itemId, onMutated, bind(this, 'sendFrame', 'FIN_EVENT_ITEM_SNAPSHOT'))
this.handleRequest('FIN_REQUEST_SUBSCRIBE_ITEM', bind(this, function(args){ var itemId = args.id this._log('subscribing to item', itemId) this.server.getItem(itemId, bind(this, function(item) { var callback = bind(this, 'sendFrame', 'FIN_EVENT_ITEM_MUTATED') this._itemSubscriptions[itemId] = this.server.s...
if (crosshair.locked) return;
plot.hooks.bindEvents.push(function (plot, eventHolder) { if (!plot.getOptions().crosshair.mode) return; eventHolder.mouseout(function () { if (crosshair.locked) return; if (crosshair.x != -1) { crosshair.x ...
this._handleItemMutation(mutation)
this._handleMutation(mutation)
this.requestResponse('FIN_REQUEST_EXTEND_LIST', args, bind(this, function(items) { var mutation = { id: itemId, prop: propName, op: 'splice', args: [items], index: listLength } this._handleItemMutation(mutation) }))
YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disabled"),
YUA.areEqual(readonly, YUD.hasClass(YUD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disabled"),
return function() { _.each(["my-button-normal", "my-button-full-update"], function(buttonId) { if (relevant) { YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disable...
YA.areEqual(readonly, OD.getElementByTagName(OD.get(buttonId), "button").disabled,
YUA.areEqual(readonly, OUD.getElementByTagName(OUD.get(buttonId), "button").disabled,
return function() { _.each(["my-button-normal", "my-button-full-update"], function(buttonId) { if (relevant) { YA.areEqual(readonly, YD.hasClass(YD.getElementsByClassName("yui-button", null, buttonId)[0], "yui-button-disable...
proto['set'+base] = (function(prop) { return function(v) { this[prop] = v; return this; } })(prop);
return function() { this.__id__ = '__obj__' + (++JX.install._nextObjectID); this.__super__ = JX[junk.extend] || JX.bag; this.__parent__ = JX[name].prototype; return (junk.construct || JX.bag).apply(this, arguments); };
proto['set'+base] = (function(prop) { return function(v) { this[prop] = v; return this; } })(prop);
var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-space', 'nowrap'); var td_checkboxes = $('tbody td.delete-checkbox :checkbox', this); $('thead th.delete-...
(function(){ var th_delete = $('thead th.delete-checkbox', table); var master_delete_checkbox = $('<input type="checkbox" class="master-delete-checkbox" />'); th_delete.html('<span>&nbsp;'+th_delete.html()+'</span>'); th_delete.prepend(master_delete_checkbox); var onchange = function(){ var checked_now = master_delete...
$('#menu-editor-overview-form #menu-overview').each(function(){ // delete all checkbox var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-...
var w = $('td.drag', this).width(); $('td.drag', this).each(function(){ $(this).css('width', w+'px'); });
if (false) { var w = $('td.drag', this).width(); $('td.drag', this).each(function(){ $(this).css('width', w+'px'); }); }
$('#menu-editor-overview-form #menu-overview').each(function(){ // delete all checkbox var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-...
var h = $('td.description input', this).height(); $('td.description input', this).each(function(){ var textarea = $('<textarea rows="1"></textarea>') .css('height', h+'px') .css('padding-top', $(this).css('padding-top')) .css('padding-bottom', $(this).css('padding-bottom')) .val($(this).val()) .attr('name', $(this).a...
var ref_input = $('td.path-edit input', this); var h = ref_input.height(); var ref_css = { 'height': h + 'px', 'padding-top': ref_input.css('padding-top'), 'padding-bottom': ref_input.css('padding-bottom') }; var div_ref_height = ref_input.parent().height(); $('td.description textarea', this).css(ref_css); $('td.des...
$('#menu-editor-overview-form #menu-overview').each(function(){ // delete all checkbox var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-...
var description_cells = $('td.description', this); var description_textareas = $('td.description textarea', this); description_textareas.focus(function(){ description_cells.css('width', '250px'); description_textareas.css('height', h+'px'); $(this).css('height', '');
$('td.description textarea', this).focus(function(){ table.addClass('focus-description-column'); $('tr.focus', table).removeClass('focus'); $(this).parents('tr').slice(0, 1).addClass('focus');
$('#menu-editor-overview-form #menu-overview').each(function(){ // delete all checkbox var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-...
description_cells.css('width', ''); description_textareas.css('height', h+'px');
table.removeClass('focus-description-column'); $('tr.focus', table).removeClass('focus'); $(this).parents('tr').slice(0, 1).addClass('focus');
$('#menu-editor-overview-form #menu-overview').each(function(){ // delete all checkbox var th_delete = $('thead th.delete-checkbox', this); th_delete.html('<span><input type="checkbox" class="master-delete-checkbox" />&nbsp;'+th_delete.html()+'</span>'); $('thead th.delete-checkbox', this).css('white-...
$('#tag_select').live('change', function() { var selected_tag = $('#tag_select option:selected').text(); tag_string_append( selected_tag );
$('.collapse-link').click( function(event) { event.preventDefault(); var id = $(this).attr('id'); var t_pos = id.indexOf('_closed_link' ); if( t_pos == -1 ) { t_pos = id.indexOf('_open_link' ); } var t_div = id.substring(0, t_pos ); ToggleDiv( t_div );
$('#tag_select').live('change', function() { var selected_tag = $('#tag_select option:selected').text(); tag_string_append( selected_tag ); });
$j('[name=filters_open]').find('input').each(function() { var formname = $j(this).parent('form').attr('name');
$('[name=filters_open]').find('input').each(function() { var formname = $(this).parent('form').attr('name');
$j('[name=filters_open]').find('input').each(function() { var formname = $j(this).parent('form').attr('name'); if( formname != 'list_queries_open' && formname != 'open_queries' && formname != 'save_query' ) { // serialize the field and add it to an array if( $j.inArray($j(this).attr('name'),form_fields) == -1 ) ...
if( $j.inArray($j(this).attr('name'),form_fields) == -1 ) { form_fields[i] = $j(this).attr('name');
if( $.inArray($(this).attr('name'),form_fields) == -1 ) { form_fields[i] = $(this).attr('name');
$j('[name=filters_open]').find('input').each(function() { var formname = $j(this).parent('form').attr('name'); if( formname != 'list_queries_open' && formname != 'open_queries' && formname != 'save_query' ) { // serialize the field and add it to an array if( $j.inArray($j(this).attr('name'),form_fields) == -1 ) ...
$(oSettings.nPaginate).insertAfter(oSettings.nTable);$(oSettings.nPrevious).click(function(){oSettings.iDisplayStart-=oSettings.iDisplayLength; if(oSettings.iDisplayStart<0){oSettings.iDisplayStart=0}fnCallbackDraw(oSettings) });$(oSettings.nNext).click(function(){if(oSettings.iDisplayStart+oSettings.iDisplayLength<oSe...
$(nPrevious).click(function(){if(oSettings.oApi._fnPageChange(oSettings,"previous")){fnCallbackDraw(oSettings) }});$(nNext).click(function(){if(oSettings.oApi._fnPageChange(oSettings,"next")){fnCallbackDraw(oSettings)
$(oSettings.nPaginate).insertAfter(oSettings.nTable);$(oSettings.nPrevious).click(function(){oSettings.iDisplayStart-=oSettings.iDisplayLength;if(oSettings.iDisplayStart<0){oSettings.iDisplayStart=0}fnCallbackDraw(oSettings)});$(oSettings.nNext).click(function(){if(oSettings.iDisplayStart+oSettings.iDisplayLength<oSett...
promise.addErrback(function() { status = 404; body = '404' sys.puts("Error loading " + filename); callback(); });
loadResponseData(function() { res.sendHeader(status, headers); res.write(body, encoding); res.close(); });
promise.addErrback(function() { status = 404; body = '404' sys.puts("Error loading " + filename); callback(); });
block.style.backgroundColor = "";
function () { curTrack.heightUpdate(layouter.totalHeight + levelHeight, blockIndex); });
select.click(function() {
select.change(function() {
return objects.each(function() { var picker = $(this); var select = picker.find('select'); var options = select.find('option'); // Multiple items if(options.size() > 1) { options.each(function() { pickables.filter('#' + $(this).val()).hide(); }); select.click(function() { pickables.hide()....
}).click();
}).change();
return objects.each(function() { var picker = $(this); var select = picker.find('select'); var options = select.find('option'); // Multiple items if(options.size() > 1) { options.each(function() { pickables.filter('#' + $(this).val()).hide(); }); select.click(function() { pickables.hide()....
$j('#tag_select').live('change', function() { var selected_tag = $j('#tag_select option:selected').text();
$('#tag_select').live('change', function() { var selected_tag = $('#tag_select option:selected').text();
$j('#tag_select').live('change', function() { var selected_tag = $j('#tag_select option:selected').text(); tag_string_append( selected_tag ); });
return out.map( function (o) { return typeof o === 'string' ? utils.html.escape(o) : o; } );
return out.map( function (o) { return typeof o === 'string' ? html.escape(o) : o; } );
return out.map( function (o) { return typeof o === 'string' ? utils.html.escape(o) : o; } );
_.defer(function() { YD = YAHOO.util.Dom; OD = ORBEON.util.Dom; });
iQ(this.container).fadeOut(function() { iQ(this).remove(); Items.unsquish(); });
_.defer(function() { YD = YAHOO.util.Dom; OD = ORBEON.util.Dom; });
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() {
return objects.delegate(settings.items, 'click.tags', function(event) { var item = $(this), object = item.parent(), input = object.parent().find('label input'), value = input.val(), tag = item.attr('class') || item.text();
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text();
if(object.is('.singular')) { input.val(tag); }
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
if(input === undefined) { input = $(this).parent().prevAll('#error').find('label input')[0]
else if(object.is('.inline')) { var start = input[0].selectionStart, end = input[0].selectionEnd, position = 0; if(start > 0) { input.val(value.substring(0, start) + tag + value.substring(end, value.length)); position = start + tag.length;
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
input.focus(); if (object.hasClass('singular')) { input.value = tag;
else { input.val(value + tag); position = value.length + tag.length;
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
else if (object.hasClass('inline')) { var start = input.selectionStart; var end = input.selectionEnd;
input[0].selectionStart = position; input[0].selectionEnd = position; }
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
if (start >= 0) { input.value = input.value.substring(0, start) + tag + input.value.substring(end, input.value.length);
else { var exp = new RegExp('^' + tag + '$', 'i'), tags = value.split(/,\s*/), removed = false; for(var index in tags) { if(tags[index].match(exp)) { tags.splice(index, 1); removed = true;
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
else { input.value += tag;
else if(tags[index] == '') { tags.splice(index, 1);
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
input.selectionStart = start + tag.length; input.selectionEnd = start + tag.length;
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
else { var exp = new RegExp('^' + tag + '$', 'i'); var tags = input.value.split(/,\s*/); var removed = false;
if(!removed) { tags.push(tag); }
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
for (var index in tags) { if (tags[index].match(exp)) { tags.splice(index, 1); removed = true; } else if (tags[index] == '') { tags.splice(index, 1); } } if (!removed) tags.push(tag); input.value = tags.join(', '); } }); return object;
input.val(tags.join(', ')); }
objects = objects.map(function() { var object = $(this); object.find(settings.items).bind('click', function() { var input = $(this).parent().prevAll('label').find('input')[0]; var tag = this.className || $(this).text(); if(input === undefined) { input = $(this).parent().prevAll('#error').find('lab...
text.replaceWhitespace = prefs.getBoolPref("extensions.firebug.fireformat.preview.showWhitespace"); text.wrapPosition = prefs.getIntPref("extensions.firebug.fireformatCssFormatter.wrapSize"); text.tabSize = prefs.getIntPref("extensions.firebug.fireformatCssFormatter.tabSize");
text.replaceWhitespace = showWhitespace.value; text.wrapPosition = prefCache.getPref("wrapSize"); text.tabSize = prefCache.getPref("tabSize");
setTimeout(function() { var prefCache = new FireformatOptions.OptionsPrefCache( document.getElementById("ffmt_cssFormatPreferences"), "extensions.firebug.fireformatCssFormatter"), text = getTestBox(); text.replaceWhitespace = prefs.getBoolPref("extensions.firebug.firefor...
forEach(this._proxiedCalls, bind(this, function(proxiedCall){ var methodName = proxiedCall[0]; var args = proxiedCall[1]; this[methodName].apply(this, args); }))
return function() { if (!this._referencedItem) { this._proxiedCalls.push([methodName, arguments]); return; } this._referencedItem[methodName].apply(this._referencedItem, arguments); }
forEach(this._proxiedCalls, bind(this, function(proxiedCall){ var methodName = proxiedCall[0]; var args = proxiedCall[1]; this[methodName].apply(this, args); }))
browser.panelManager.showItem(propertyView.getReferencedItem());
gPanelManager.showItem(propertyView.getReferencedItem());
forEach(this._itemView.getPropertyViews(), bind(this, function(propertyView) { this._listComponent.addItem(propertyView); if (propertyView instanceof browser.ItemReferenceView) { propertyView.subscribe('Click', bind(this, function() { browser.panelManager.showItem(propertyView.getReferencedItem()); }));...
browser.panelManager.subscribe('PanelFocused', function(panel) {
gPanelManager.subscribe('PanelFocused', function(panel) {
browser.panelManager.subscribe('PanelFocused', function(panel) { var item = panel.getItem(); document.location.hash = '#/panel/' + item.getType() + '/' + item.getId();})
if (crosshair.locked) return;
plot.hooks.bindEvents.push(function (plot, eventHolder) { if (!plot.getOptions().crosshair.mode) return; eventHolder.mouseout(function () { if (crosshair.x != -1) { crosshair.x = -1; plot.triggerRedrawOverlay(); ...
options = optgroup.remove().find('option').addClass('group');
options = optgroup.remove().find('option').addClass('optgroup');
$('select.filtered > optgroup').each(function() { var optgroup = $(this), select = optgroup.parents('select'), label = optgroup.attr('label'), options = optgroup.remove().find('option').addClass('group'); // Show only relevant options based on context $('#context').change(function() { if($(this).fin...
select.find('options.group').remove();
select.find('option.optgroup').remove();
$('select.filtered > optgroup').each(function() { var optgroup = $(this), select = optgroup.parents('select'), label = optgroup.attr('label'), options = optgroup.remove().find('option').addClass('group'); // Show only relevant options based on context $('#context').change(function() { if($(this).fin...
YAHOO.util.Assert.areEqual("s", valueOfRadio(), "apple radio is selected after putting an 'x' in the node"); });
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"); });
}, function() { YAHOO.util.Assert.areEqual("s", valueOfRadio(), "apple radio is selected after putting an 'x' in the node"); });
$.each(tool.events, function(evt, func) { $(div).bind(evt, func); });
callback:C.cbHandler(function(result){ if (result.success){ var output = Ext.getCmp("result" + thread_id).getEl(); output.dom.innerHTML=result.output } else return false })
$.each(tool.events, function(evt, func) { $(div).bind(evt, func); });
}, function() { 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, ['-<< first', '-< prev', '-1', '+2', '+next >', '+last >>...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() {
}, function() { // Check the table structure table = YAHOO.util.Dom.get('my-accordion$_314459-table$_314459-table-table'); thiss.checkTableStructure(table, 1, false); container = YAHOO.util.Dom.get('my-accord...
}, function(color){ beginColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; beginOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', beginColor); $('#'+id+'_jGraduate_beginOpacity').html(parseInt(beginOpacity*100)+'%'); stops[0].setAttribute('stop-color', beginColor); stops[0].setAttribut...
}, null, function() {
}, function(color){ beginColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; beginOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', beginColor); $('#'+id+'_jGraduate_beginOpacity').html(parseInt(beginOpacity*100)+'%'); stops[0].setAttribute('stop-color...
}, null, function() {
});
}, function(color){ beginColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; beginOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', beginColor); $('#'+id+'_jGraduate_beginOpacity').html(parseInt(beginOpacity*100)+'%'); stops[0].setAttribute('stop-color...
'name': $('table input:checked').parents('tr').find('td').eq(0).text(),
'name': $.trim($('table input:checked').parents('tr').find('td').eq(0).text()),
$('form').submit(function() { var i = $('table input:checked').length, t = (i > 1 ? 'Are you sure you want to {$action} {$count} items?' : 'Are you sure you want to {$action} {$name}?'), s = document.getElementsByName('with-selected')[0], o = $(s.options[s.selectedIndex]); t = Symphony.Lan...
FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith('_fck')) continue;else if (G=='style'){bHasStyle=true;continue;}else i...
FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith('_fck')) continue;else if (G=='style'){bHasStyle=true;continue;}else i...
FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes,bHasStyle;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith('_fck')) continue;else if (G=='style'){bHasStyle=true;continue;}else i...
setTimeout(function() { yuiCalendar.previousYear(); var newYearLeft = YAHOO.util.Dom.getElementsByClassName("calyearleft", "a", calendarDiv); if (newYearLeft && newYearLeft[0]) newYearLeft[0].focus(); }, 0);
doNothingSingleton[methodName] = function(){};
setTimeout(function() { yuiCalendar.previousYear(); var newYearLeft = YAHOO.util.Dom.getElementsByClassName("calyearleft", "a", calendarDiv); if (newYearLeft && newYearLeft[0]) newYearLeft[0].focus(); ...
$('form').submit(function() { var i = $('table input:checked').length, t = (i > 1 ? 'Are you sure you want to {$action} {$count} items?' : 'Are you sure you want to {$action} {$name}?'), s = document.getElementsByName('with-selected')[0], o = $(s.options[s.selectedIndex]);
$('<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">';
$('form').submit(function() { var i = $('table input:checked').length, t = (i > 1 ? 'Are you sure you want to {$action} {$count} items?' : 'Are you sure you want to {$action} {$name}?'), s = document.getElementsByName('with-selected')[0], o = $(s.options[s.selectedIndex]); if (i == 0) retu...
if (i == 0) return false; t = Symphony.Language.get(t, { 'action': o.text().toLowerCase(), 'name': $.trim($('table input:checked').parents('tr').find('td').eq(0).text()), 'count': i }); return i > 0 && !o.hasClass('confirm') || confirm(t); });
setTimeout(function() { s.html(d); }, 50); });
$('form').submit(function() { var i = $('table input:checked').length, t = (i > 1 ? 'Are you sure you want to {$action} {$count} items?' : 'Are you sure you want to {$action} {$name}?'), s = document.getElementsByName('with-selected')[0], o = $(s.options[s.selectedIndex]); if (i == 0) retu...
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val()...
a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(b===B){d=this.triggerHandler("getData"+k[1]+"!",[k[0]]);if(d===B&&this.length){d=c.data(this[0],a);d=ka(this[0],a,d)}return d===B&&k[1]?this.data(k[0]):d}else return this.each(function(){var o=c(this),x=[k[0],b];o.triggerHandler("setData"+k[1]+"!",x);c.data(this,a,b);o.t...
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val()...
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)) {
var hasParentDisabledOrNonRelevant = 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);
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)) {
this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=d("a",e)...
a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.l...
this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=d("a",e)...
"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDa...
d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widge...
"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDa...
return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new L;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.4";window["DP_jQuery_"+y]=d})(jQuery);
d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widge...
return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new L;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.4";window["DP_jQuery_"+y]=d})(jQuery);
(function(c,j){c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",of:window,collision:"fit",using:function(a){var b=c(th...
d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-...
(function(c,j){c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",of:window,collision:"fit",using:function(a){var b=c(th...
if(typeof this.originalTitle!=="string")this.originalTitle="";var a=this,b=a.options,d=b.title||a.originalTitle||"&#160;",f=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex...
d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-...
if(typeof this.originalTitle!=="string")this.originalTitle="";var a=this,b=a.options,d=b.title||a.originalTitle||"&#160;",f=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex...
if(typeof this.originalTitle!=="string")this.originalTitle="";var a=this,b=a.options,d=b.title||a.originalTitle||"&#160;",f=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex...
j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});th...
if(typeof this.originalTitle!=="string")this.originalTitle="";var a=this,b=a.options,d=b.title||a.originalTitle||"&#160;",f=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex...
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});th...
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b...
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
select.find('options.group').remove();
select.find('option.optgroup').remove();
$('#context').change(function() { if($(this).find('option:selected').text() == label) { select.find('options.group').remove(); select.append(options.clone(true)); } });
YAHOO.util.UserAction.click("change-colors" + XFORMS_SEPARATOR_1 + "1");
YAHOO.util.UserAction.click("set-out-of-range" + XFORMS_SEPARATOR_1 + "1");
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("change-colors" + XFORMS_SEPARATOR_1 + "1"); }, function() {
if (ORBEON.util.Dom.hasClass(control, "xforms-invalid")) ORBEON.util.Dom.addClass(control, "xforms-invalid-visited");
if (YAHOO.util.Dom.hasClass(control, "xforms-invalid")) YAHOO.util.Dom.addClass(control, "xforms-invalid-visited");
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...
if (alertElement != null && ORBEON.util.Dom.hasClass(alertElement, "xforms-alert-active")) ORBEON.util.Dom.addClass(alertElement, "xforms-alert-active-visited");
if (alertElement != null && YAHOO.util.Dom.hasClass(alertElement, "xforms-alert-active")) YAHOO.util.Dom.addClass(alertElement, "xforms-alert-active-visited");
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...
setTimeout(function(self) { SelectHelperUI.resize(); self._container.contentHasChanged(); }, 0, this);
function(aItem, aIndex) { if (aElement.optionIndex == aItem.optionIndex) index = aIndex; }
setTimeout(function(self) { SelectHelperUI.resize(); self._container.contentHasChanged(); }, 0, this);
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: {...
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(...
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._messageDialog.setHeader("Message"); this._messageDialog.render(document.body); var dialogDiv = YAHOO.util.Dom.get("xforms-message-dialog"); var bodyDiv = YAHOO.util.Dom.getElementsByClassName("bd", null, dialogDiv)[0]; bodyDiv.setAttribute("aria-live", "polite"); bodyDiv.setAttribute("role", "alert"); }, this, ...
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...
$.each(tool.options, function(val, text) { var sel = (val == tool.defval) ? " selected":""; html += '<option value="'+val+'"' + sel + '>' + text + '</option>'; });
callback:C.cbHandler(function(result){ if (result.success){ var output = Ext.getCmp("result" + thread_id).getEl(); output.dom.innerHTML=result.output } else return false })
$.each(tool.options, function(val, text) { var sel = (val == tool.defval) ? " selected":""; html += '<option value="'+val+'"' + sel + '>' + text + '</option>'; });
thiss.openAccordionCase(thiss, '_314415', function() {
}, function() { 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, ['-<< first', '-< prev', '-1', '+2', '+next >', '+last >>...
thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table structure var table = YAHOO.util.Dom.get('m...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); thiss.checkTableStructure(table, 1, true); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ...
thiss.closeAccordionCase(thiss, '_314459'); });
thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { // Check the table structure var table = YAHOO.util.Dom.get('m...
}, null, function() {
$('#'+id+'_jGraduate_colorBoxEnd').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(endOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = endColor.substr(1) + thisAlpha; $('#'+id+'_jGraduate_stopPicker').css({'left'...
}, null, function() { $('div.jGraduate_LightBox').hide(); $('#'+id+'_jGraduate_stopPicker').hide(); });
utils.iter.reduce( context.blocks[name], inner, '', function (error, result) {
iter.reduce( context.blocks[name], inner, '', function (error, result) {
utils.iter.reduce( context.blocks[name], inner, '', function (error, result) { context.pop(); callback(error, result); });
}, null, false);
});
return ORBEON.util.Dom.existsAncestorOrSelf(element, function(node) { return YAHOO.util.Dom.hasClass(node, "xforms-repeat-template") }, null, false);
YAHOO.util.Event.addListener(yearRight, "click", function(event) {
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(...
YAHOO.util.Event.addListener(yearRight, "click", function(event) { YAHOO.util.Event.preventDefault(event); // See comment in calendar.js doPreviousMonthNav() regarding the setTimeout() setTimeout(function() { ...
});
YAHOO.util.Event.addListener(yearRight, "click", function(event) { YAHOO.util.Event.preventDefault(event); // See comment in calendar.js doPreviousMonthNav() regarding the setTimeout() setTimeout(function() { ...
$('#utilities a').each(function() { var a = $(this.parentNode), r = new RegExp('href=["\']?(?:\\.{2}/utilities/)?' + $(this).text()); $('textarea').blur(function() { a[r.test(this.value) ? 'addClass' : 'removeClass']('selected'); }); });
setTimeout(function() { s.html(d); }, 50);
$('#utilities a').each(function() { var a = $(this.parentNode), r = new RegExp('href=["\']?(?:\\.{2}/utilities/)?' + $(this).text()); $('textarea').blur(function() { a[r.test(this.value) ? 'addClass' : 'removeClass']('selected'); }); });
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val()...
c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(ty...
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val()...
test_async('should work sync', function (testcontext, complete) { var context = {}; var node_list = make_nodelist(); node_list.append( function (context, callback) { callback(false, 'hest'); }, 'test'); node_list.append( function (context, callback) { callback(false, 'giraf'); }, 'test'); node_list.append( function (c...
test_async('should parse "%"', function (testcontext, complete) { t = parse('1 % of this, this is 100% nice! %'); t.render({}, function (error, result) { assertEquals('1 % of this, this is 100% nice! %', result, complete);
test_async('should work sync', function (testcontext, complete) { var context = {}; var node_list = make_nodelist(); node_list.append( function (context, callback) { callback(false, 'hest'); }, 'test'); node_list.append( function (context, callback) { callback(false, 'giraf'); }, 'test')...
r = new RegExp('href=["\']?\\.{2}/utilities/' + $(this).text());
r = new RegExp('href=["\']?(?:\\.{2}/utilities/)?' + $(this).text());
$('#utilities a').each(function() { var a = $(this.parentNode), r = new RegExp('href=["\']?\\.{2}/utilities/' + $(this).text()); $('textarea').blur(function() { a[r.test(this.value) ? 'addClass' : 'removeClass']('selected'); }); });
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.6"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a....
i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var e=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr(...
b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0])d=Math.max(d,c(this).css("z-index"))});c.ui.dialog.maxZ=d}return b...
e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.6"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a....
b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0])d=Math.max(d,c(this).css("z-index"))});c.ui.dialog.maxZ=d}return b...
b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0])d=Math.max(d,c(this).css("z-index"))});c.ui.dialog.maxZ=d}return b...
function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0])d=Math.max(d,c(this).css("z-index"))});c.ui.dialog.maxZ=d}return b...
a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(f){if(f.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),e=g.filter(":first");g=g.filter(":last");if(f.target===g[0]&&!f.shiftKey){e.focus(1);return false}else if(f.target===e[0]&&f.shiftKey){g.focus(1);return false}}});c(a.element.find(":tabbable").g...
(function(d,G){function K(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this....
a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(f){if(f.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),e=g.filter(":first");g=g.filter(":last");if(f.target===g[0]&&!f.shiftKey){e.focus(1);return false}else if(f.target===e[0]&&f.shiftKey){g.focus(1);return false}}});c(a.element.find(":tabbable").g...
f=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(f);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(e,h){e=c('<button type="b...
_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.date...
f=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(f);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(e,h){e=c('<button type="b...
f=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(f);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(e,h){e=c('<button type="b...
""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=...
f=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(f);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(e,h){e=c('<button type="b...
a.height)},_position:function(a){var b=[],d=[0,0],f;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(g,e){if(+b[g]===b[g]){d[g]=b[g];b[g]=e}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.di...
c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("se...
a.height)},_position:function(a){var b=[],d=[0,0],f;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(g,e){if(+b[g]===b[g]){d[g]=b[g];b[g]=e}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.di...
create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){return c(d.target).zIndex()>=c.ui.dialog.overlay.maxZ})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d....
_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span")b.children...
create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){return c(d.target).zIndex()>=c.ui.dialog.overlay.maxZ})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d....
checkColors("yellow", "brown");
YAHOO.util.Assert.areEqual("", valueOfRadio(), "value is empty string after setting value to out of range"); ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("set-to-strawberry" + XFORMS_SEPARATOR_1 + "1"); }, function() { YAHOO.util.Assert.areEqual("s", valueOfRadio(), "apple r...
}, function() { checkColors("yellow", "brown"); });
$.each(tool.events, function(evt, func) { $(sel).bind(evt, func); });
callback:C.cbHandler(function(result){ if (result.success){ var formPanel = Ext.getCmp("form" + tabId); var form = formPanel.form; form.setValues(result.data) formPanel.show(); formPanel.ownerCt.doLayout(); } else return false; })
$.each(tool.events, function(evt, func) { $(sel).bind(evt, func); });
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() {
thiss.openAccordionCase(thiss, '_314415', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$_314415-table$_314415-table-table·1'); thiss.checkTableStructure(table, 1, true); ORBEON....
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("show", "true"); }, function() {
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: {...
YAHOO.util.Event.addListener(yearLeft, "click", function(event) { YAHOO.util.Event.preventDefault(event); setTimeout(function() { yuiCalendar.previousYear(); var newYearLeft = YAHOO.util.Dom.getElementsByClassName("calyearleft", "a", calendarDiv); if (newYearLeft && newYearLeft[0]) newYearLeft[0].focus(); }, 0); });
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...