rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
$this.paint.radialGradient.setAttribute('cx', this.value); centerPoint.setAttribute('x', MARGINX + SIZEX*this.value - STOP_RADIUS);
$this.paint.radialGradient.setAttribute('fy', this.value); focusPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS);
cxInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0; } $this.paint.radialGradient.setAttribute('cx', this.value); centerPoint.setAttribute('x', MARGINX + SIZEX*this.value - STOP_RADIUS); });
this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.4"});d.ui.plugin.add("draggable","connectToSort...
left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.le...
this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.4"});d.ui.plugin.add("draggable","connectToSort...
doNothingSingleton[methodName] = function(){};
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(){};
return function (parser, token) { var parts = assert_args_in_token(token, options); return node.apply(null, parts); };
return function (context, callback) { process.mixin(context.filters, package.filters); callback(false, ''); }
return function (parser, token) { var parts = assert_args_in_token(token, options); return node.apply(null, parts); };
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
window.setInterval(function() { ORBEON.xforms.Events.sendHeartBeatIfNeeded(heartBeatDelay); }, heartBeatDelay / 10);
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
}}}}}else{return false;}},deselectButton:function(F){var E=B.call(this,F);if(E){E.removeClass("yui-button-selected");E.removeClass("yui-button-"+E.get("value")+"-selected");E.removeClass("yui-button-hover");E._selected=false;}else{return false;}},deselectAllButtons:function(){var E=this._buttonList.length;for(var F=0;F...
(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==...
}}}}}else{return false;}},deselectButton:function(F){var E=B.call(this,F);if(E){E.removeClass("yui-button-selected");E.removeClass("yui-button-"+E.get("value")+"-selected");E.removeClass("yui-button-hover");E._selected=false;}else{return false;}},deselectAllButtons:function(){var E=this._buttonList.length;for(var F=0;F...
$('input,select,textarea', this).each(function() { this.name = this.name.replace(/\[-?\d+(?=])/, '[' + i);
t.eq(j).clone(true).appendTo(w).animate({height: h[j]}, function() { $('input:not([type=hidden]), select, textarea', this).eq(0).focus();
$('input,select,textarea', this).each(function() { this.name = this.name.replace(/\[-?\d+(?=])/, '[' + i); });
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;r...
l=0,k=b.length;l<k;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,f,h.attr("class"),b),b)});return this.each(function(){if(d==...
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;r...
ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/31/10"); }, function() {
ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/1/" + twoDigits); }, function() {
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { // Enter valid date ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/31/10"); }, function() {
$.each(color_blocks, function() { str += '<div class="color_block" style="background-color:' + this + ';"></div>'; });
callback:C.cbHandler(function(result){ if (result.success){ var formPanel = Ext.getCmp("form" + tabId); var form = formPanel.form; if (!("user_id" in result.data) || !result.data.user_id.length){ result.data.user_id = user_id } formPanel.show(); formPanel.ownerCt.doLayout(); form.setValues(result.data); } else ret...
$.each(color_blocks, function() { str += '<div class="color_block" style="background-color:' + this + ';"></div>'; });
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { YAHOO.util.UserAction.click(link6, {clientX: 1}); }, function() {
}, function() { var table = YAHOO.util.Dom.get('my-accordion$_314422-table$_314422-table-table'); thiss.checkColumnValues(table, 1, false, [0, 1, 2, 3, 4]); var container = YAHOO.util.Dom.get('my-accordion$_314422-table$_314422-table-container'); thiss.checkPaginationLinks(container, ['-<< first', '-< prev', '-1', '+2...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { YAHOO.util.UserAction.click(link6, {clientX: 1}); }, function() {
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
cyInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0;
$("#" + id + "_jGraduate_match_ctr").change(function() { showFocus = !this.checked; focusPoint.setAttribute('display', showFocus?'inline':'none'); fxInput.val(""); fyInput.val(""); var grad = $this.paint.radialGradient; if(!showFocus) { lastfx = grad.getAttribute('fx'); lastfy = grad.getAttribute('fy'); grad.removeAttr...
cyInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0; } $this.paint.radialGradient.setAttribute('cy', this.value); centerPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS); });
$this.paint.radialGradient.setAttribute('cy', this.value); centerPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS);
cyInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0; } $this.paint.radialGradient.setAttribute('cy', this.value); centerPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS); });
if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemova...
k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+parseInt(c.curCSS(this,"marginRight",true))||0,w=m+q+parseInt(c.curCSS(this,"...
if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemova...
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(yearLeft, "click", function(event) {
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...
var monthRight = YAHOO.util.Dom.getElementsByClassName("calnavright", null, calendarDiv)[0]; var yearRight = document.createElement("a"); yearRight.innerHTML = "Next Year"; yearRight.href = "#"; YAHOO.util.Dom.addClass(yearRight, "calyearright"); YAHOO.util.Dom.insertBefore(yearRight, monthRight); YAHOO.util.Event.addL...
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...
return function (parser, token) { var parts = assert_args_in_token(token, options); var node_list = parser.parse('end' + token.type); parser.delete_first_token(); return node.apply(null, [node_list].concat(parts)); };
return function (context, callback) { var bits = { openblock: '{%', closeblock: '%}', openvariable: '{{', closevariable: '}}', openbrace: '{', closebrace: '}', opencomment: '{#', closecomment: '#}' }; if (!bits[type]) { callback('unknown bit'); } else { callback(false, bits[type]); } }
return function (parser, token) { var parts = assert_args_in_token(token, options); var node_list = parser.parse('end' + token.type); parser.delete_first_token(); return node.apply(null, [node_list].concat(parts)); };
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
window.setTimeout(function() { ORBEON.xforms.Events.orbeonLoadedEvent.fire(); }, ORBEON.util.Properties.internalShortDelay.get());
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
this._contentTimerCounter=0;}}if(!this._getDoc().body){this._contentTimerCounter=0;this._checkLoaded();return false;}this.toolbar.on("buttonClick",this._handleToolbarClick,this,true);if(!this.get("disabled")){this._initEditorEvents();this.toolbar.set("disabled",false);}this.fireEvent("editorContentLoaded",{type:"editor...
(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==...
this._contentTimerCounter=0;}}if(!this._getDoc().body){this._contentTimerCounter=0;this._checkLoaded();return false;}this.toolbar.on("buttonClick",this._handleToolbarClick,this,true);if(!this.get("disabled")){this._initEditorEvents();this.toolbar.set("disabled",false);}this.fireEvent("editorContentLoaded",{type:"editor...
$('select.filtered > optgroup').each(function() { var s = this.parentNode, l = this.label, z = $(this).siblings('option').length, o = $(this).remove().find('option'); $('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clone(true).appendTo(s); }
$('form').submit(function() { m.find('ol > li').each(function(i) { $('input,select,textarea', this).each(function() { this.name = this.name.replace(/\[-?\d+(?=])/, '[' + i); }); });
$('select.filtered > optgroup').each(function() { var s = this.parentNode, l = this.label, z = $(this).siblings('option').length, o = $(this).remove().find('option'); $('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clon...
});
$('select.filtered > optgroup').each(function() { var s = this.parentNode, l = this.label, z = $(this).siblings('option').length, o = $(this).remove().find('option'); $('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clon...
"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({fo...
if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var l=f[h];if(l.selected&&(c.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&&(!l.parentNode.disabled||!c.nodeName(l.parentNode,"optgroup"))){a=c(l).val();if(b)return a;d.push(a)}}return d}if(ta.test(b.type)&&!c.support.checkOn)return b.get...
"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({fo...
YAHOO.util.Assert.areEqual("2010-01-31", ORBEON.xforms.Document.getValue(this.dateValueControlId), "value was parsed"); });
YAHOO.util.Assert.areEqual(fourDigits + "-01-01", ORBEON.xforms.Document.getValue(this.dateValueControlId)); });
}, function() { YAHOO.util.Assert.areEqual("2010-01-31", ORBEON.xforms.Document.getValue(this.dateValueControlId), "value was parsed"); });
blocks.each(function() { var blk = $(this); blk.click(function() { blocks.removeClass(cur_bg); $(this).addClass(cur_bg); }); });
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_logins_grid").reload(); formPanel.functions.close(); } else return false })
blocks.each(function() { var blk = $(this); blk.click(function() { blocks.removeClass(cur_bg); $(this).addClass(cur_bg); }); });
}, function() { thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3', '+4', '+5', '+6', '+7', '-8', '-next >', '-last >>']); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { YAHOO.util.UserAction.click(link6, {clientX: 1});
}, function() { thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3', '+4', '+5', '+6', '+7', '-8', '-next >', '-last >>']); ORBEON.util.Test.executeCausingAjaxRequ...
thiss.checkColumnValues(table, 1, false, [35, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '-2', '-next >', '-last >>']); thiss.closeAccordionCase(thiss, '_314422'); }); });
}, function() { thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3', '+4', '+5', '+6', '+7', '-8', '-next >', '-last >>']); ORBEON.util.Test.executeCausingAjaxRequ...
fxInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 1.0;
$('#' + id + '_jGraduate_RadiusInput').val(parseInt(radius*100)).change(function(e) { var x = this.value / 100; if(x < 0.01) { x = 0.01;
fxInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 1.0; } $this.paint.radialGradient.setAttribute('fx', this.value); focusPoint.setAttribute('x', MARGINX + SIZEX*this.value - STOP_RADIUS); });
$this.paint.radialGradient.setAttribute('fx', this.value); focusPoint.setAttribute('x', MARGINX + SIZEX*this.value - STOP_RADIUS);
$this.paint.radialGradient.setAttribute('r', x); if(x > 2) x = 2; var posx = parseInt((245/2) * x) - 4.5; $('#' + id + '_jGraduate_RadiusArrows').css({'margin-left':posx});
fxInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 1.0; } $this.paint.radialGradient.setAttribute('fx', this.value); focusPoint.setAttribute('x', MARGINX + SIZEX*this.value - STOP_RADIUS); });
c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.he...
i.left=parseInt(i.left);i.top=parseInt(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgifra...
c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.he...
YAHOO.util.Event.addListener(yearLeft, "click", function(event) { YAHOO.util.Event.preventDefault(event); setTimeout(function() {
setTimeout(function() {
YAHOO.util.Event.addListener(yearLeft, "click", function(event) { YAHOO.util.Event.preventDefault(event); // See comment in calendar.js doPreviousMonthNav() regarding the setTimeout() setTimeout(function() { ...
});
YAHOO.util.Event.addListener(yearLeft, "click", function(event) { YAHOO.util.Event.preventDefault(event); // See comment in calendar.js doPreviousMonthNav() regarding the setTimeout() setTimeout(function() { ...
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
yuiTree.subscribe("clickEvent", function(object) { if (object.node.expanded) return false; });
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
$('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clone(true).appendTo(s); } });
m.find('ol > li').each(function(i) { $('input,select,textarea', this).each(function() { this.name = this.name.replace(/\[-?\d+(?=])/, '[' + i); }); });
$('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clone(true).appendTo(s); } });
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;...
a.call(this,o,x.val());if(r==null)r="";else if(typeof r==="number")r+="";else if(c.isArray(r))r=c.map(r,function(C){return C==null?"":C+""});if(c.isArray(r)&&ta.test(this.type))this.checked=c.inArray(x.val(),r)>=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.i...
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;...
ORBEON.xforms.Document.setValue(this.timeValueId, typedValue);
ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/40/10");
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue(this.timeValueId, typedValue); }, function() {
blk.click(function() { blocks.removeClass(cur_bg); $(this).addClass(cur_bg); });
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_logins_grid").reload(); formPanel.functions.close(); } else return false })
blk.click(function() { blocks.removeClass(cur_bg); $(this).addClass(cur_bg); });
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); }, function() {
}, function() { thiss.checkColumnValues(table, 1, false, [35, 36, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '+2', '+3', '+4', '+5', '+6', '+7', '-8', '-next >', '-last >>']); ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); }, function() {
fyInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0; } $this.paint.radialGradient.setAttribute('fy', this.value); focusPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS); });
$('#' + id + '_rg_jGraduate_Opacity').mousedown(function(evt) { setRgOpacitySlider(evt, $(this)); bSlidingOpacity = true; evt.preventDefault(); }).mousemove(function(evt) {
fyInput.change( function() { if (isNaN(parseFloat(this.value)) || this.value < 0.0 || this.value > 1.0) { this.value = 0.0; } $this.paint.radialGradient.setAttribute('fy', this.value); focusPoint.setAttribute('y', MARGINY + SIZEY*this.value - STOP_RADIUS); });
d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})}...
g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});retur...
d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})}...
setTimeout(function() { yuiCalendar.previousYear(); var newYearLeft = YAHOO.util.Dom.getElementsByClassName("calyearleft", "a", calendarDiv); if (newYearLeft && newYearLeft[0]) newYearLeft[0].focus();
YAHOO.util.Event.addListener(yearRight, "click", function(event) { YAHOO.util.Event.preventDefault(event); setTimeout(function() { yuiCalendar.nextYear(); var newYearRight = YAHOO.util.Dom.getElementsByClassName("calyearright", "a", calendarDiv); if (newYearRight && newYearRight[0]) newYearRight[0].focus();
setTimeout(function() { yuiCalendar.previousYear(); var newYearLeft = YAHOO.util.Dom.getElementsByClassName("calyearleft", "a", calendarDiv); if (newYearLeft && newYearLeft[0]) newYearLeft[0].focus(); ...
function() { ORBEON.xforms.Server.executeNextRequest(false); },
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Server.executeNextRequest(false); },
if(F.length){for(var G=0;G<F.length;G++){H.push(F[G]);}}}}}for(var I=0;I<H.length;I++){if(H[I].parentNode){if(D.isObject(this.invalidHTML[H[I].tagName.toLowerCase()])&&this.invalidHTML[H[I].tagName.toLowerCase()].keepContents){this._swapEl(H[I],"span",function(L){L.className="yui-non";});}else{H[I].parentNode.removeChi...
(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==...
if(F.length){for(var G=0;G<F.length;G++){H.push(F[G]);}}}}}for(var I=0;I<H.length;I++){if(H[I].parentNode){if(D.isObject(this.invalidHTML[H[I].tagName.toLowerCase()])&&this.invalidHTML[H[I].tagName.toLowerCase()].keepContents){this._swapEl(H[I],"span",function(L){L.className="yui-non";});}else{H[I].parentNode.removeChi...
$('*.contextual').each(function() { var a = $(this); $('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_'); a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']...
$('input,select,textarea', this).each(function() { this.name = this.name.replace(/\[-?\d+(?=])/, '[' + i); });
$('*.contextual').each(function() { var a = $(this); $('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_'); a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 're...
YAHOO.util.Assert.areEqual(expectedValue, YAHOO.util.Dom.get(this.timeValueInputId).value);
YAHOO.util.Assert.areEqual("1/40/10", ORBEON.xforms.Document.getValue(this.dateValueControlId), "value still what we entered"); ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/31/10"); }, function() { YAHOO.util.Assert.areEqual("2010-01-31", ORB...
}, function() { YAHOO.util.Assert.areEqual(expectedValue, YAHOO.util.Dom.get(this.timeValueInputId).value); });
$('#stroke_style').change(function(){ svgCanvas.setStrokeAttr('stroke-dasharray', $(this).val()); operaRepaint(); });
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_logins_grid").reload(); formPanel.functions.close(); } else return false })
$('#stroke_style').change(function(){ svgCanvas.setStrokeAttr('stroke-dasharray', $(this).val()); operaRepaint(); });
}, function() { thiss.checkColumnValues(table, 1, false, [35, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '-2', '-next >', '-last >>']); thiss.closeAccordionCase(thiss, '_314422'); });
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "30"); }, function() {
}, function() { // Test the status after clicking on "last" thiss.checkColumnValues(table, 1, false, [35, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '-2', '-next >', '-last >>']); ...
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; });
YAHOO.util.Dom.getElementsBy(function(element) { if (ORBEON.util.Utils.getLocalName(element) == "submission" && ORBEON.util.Dom.getAttribute(element, "target") == null) foundSubmissionWithNoTarget = true; }, null, responseXML.documentElement);
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; });
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
function() { ORBEON.xforms.Server.executeNextRequest(true); },
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); ...
$("#" + id + "_jGraduate_match_ctr").change(function() { showFocus = !this.checked; focusPoint.setAttribute('display', showFocus?'inline':'none'); fxInput.val(""); fyInput.val(""); var grad = $this.paint.radialGradient; if(!showFocus) { lastfx = grad.getAttribute('fx'); lastfy = grad.getAttribute('fy'); grad.removeAttr...
}).mousemove(function(evt) { if (bSlidingOpacity) { setRgOpacitySlider(evt, $(this)); evt.preventDefault();
$("#" + id + "_jGraduate_match_ctr").change(function() { showFocus = !this.checked; focusPoint.setAttribute('display', showFocus?'inline':'none'); fxInput.val(""); fyInput.val(""); var grad = $this.paint.radialGradient; if(!showFocus) { lastfx = grad.getAttribute('fx'); lastfy = gr...
});
}).mouseup(function(evt) {
$("#" + id + "_jGraduate_match_ctr").change(function() { showFocus = !this.checked; focusPoint.setAttribute('display', showFocus?'inline':'none'); fxInput.val(""); fyInput.val(""); var grad = $this.paint.radialGradient; if(!showFocus) { lastfx = grad.getAttribute('fx'); lastfy = gr...
YAHOO.util.Event.addListener(yearRight, "click", function(event) { YAHOO.util.Event.preventDefault(event); setTimeout(function() {
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() { ...
function() { ORBEON.xforms.Server.executeNextRequest(true); },
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Server.executeNextRequest(true); },
$('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_');
$('select.filtered > optgroup').each(function() { var s = this.parentNode, l = this.label, z = $(this).siblings('option').length, o = $(this).remove().find('option');
$('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_'); a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']('irrelevant'); });
a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']('irrelevant');
$('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clone(true).appendTo(s); }
$('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_'); a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']('irrelevant'); });
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;...
w.handle)b.elem=null;delete w.events;delete w.handle;if(typeof w==="function")c.removeData(a,J);else c.isEmptyObject(w)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=t...
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;...
ORBEON.xforms.Document.setValue(this.dateValueId, "10/20/2030"); }, function() {
ORBEON.xforms.Document.setValue(this.dateValueControlId, "1/31/10"); }, function() {
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue(this.dateValueId, "10/20/2030"); }, function() {
$('#stroke_linejoin').change(function(){ svgCanvas.setStrokeAttr('stroke-linejoin', $(this).val()); operaRepaint(); });
callback:C.cbHandler(function(result){ if (result.success){ var eastPanel = Ext.getCmp("east_panel" + tabId); var form = Ext.getCmp("form" + tabId).form; form.setValues(result.data); eastPanel.show(); eastPanel.ownerCt.doLayout(); } else return false; })
$('#stroke_linejoin').change(function(){ svgCanvas.setStrokeAttr('stroke-linejoin', $(this).val()); operaRepaint(); });
thiss.openAccordionCase(thiss, '_314359', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314359$table-314359-table'); thiss.checkIsSplit(table, true); thiss.checkTableStructure(table, 2, true); thiss.checkCellClasses(table, true); thiss.checkCellStyles(table, true);
}, function() { thiss.checkColumnValues(table, 1, false, [35, 37]); thiss.checkPaginationLinks(container, ['+<< first', '+< prev', '+1', '-2', '-next >', '-last >>']);
thiss.openAccordionCase(thiss, '_314359', function() { // Check the table structure var table = YAHOO.util.Dom.get('my-accordion$table-314359$table-314359-table'); thiss.checkIsSplit(table, true); thiss.checkTableStructure(table, 2, true); thiss.checkCellCl...
thiss.closeAccordionCase(thiss, '_314359'); });
thiss.closeAccordionCase(thiss, '_314422'); });
thiss.openAccordionCase(thiss, '_314359', function() { // Check the table structure var table = YAHOO.util.Dom.get('my-accordion$table-314359$table-314359-table'); thiss.checkIsSplit(table, true); thiss.checkTableStructure(table, 2, true); thiss.checkCellCl...
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true);
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; });
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true);
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
$('#' + id + '_jGraduate_RadiusInput').val(parseInt(radius*100)).change(function(e) { var x = this.value / 100; if(x < 0.01) { x = 0.01; } $this.paint.radialGradient.setAttribute('r', x); if(x > 2) x = 2; var posx = parseInt((245/2) * x) - 4.5; $('#' + id + '_jGraduate_RadiusArrows').css({'margin-left':posx});
}).mouseup(function(evt) { setRgOpacitySlider(evt, $(this)); bSlidingOpacity = false; evt.preventDefault();
$('#' + id + '_jGraduate_RadiusInput').val(parseInt(radius*100)).change(function(e) { var x = this.value / 100; if(x < 0.01) { x = 0.01; } $this.paint.radialGradient.setAttribute('r', x); // Allow higher value, but pretend it's the max for the slider if(x > 2) x = 2; var posx =...
setTimeout(function() { yuiCalendar.nextYear(); var newYearRight = YAHOO.util.Dom.getElementsByClassName("calyearright", "a", calendarDiv); if (newYearRight && newYearRight[0]) newYearRight[0].focus(); }, 0);
yuiRTE.on("editorKeyUp", function() { changeEvent(control.id); });
setTimeout(function() { yuiCalendar.nextYear(); var newYearRight = YAHOO.util.Dom.getElementsByClassName("calyearright", "a", calendarDiv); if (newYearRight && newYearRight[0]) newYearRight[0].focus(); ...
$('#' + id + '_jGraduate_SpreadInput').val(parseInt(radius*100)).change(function(e) {
$('#' + id + '_jGraduate_RadiusInput').val(parseInt(radius*100)).change(function(e) {
$('#' + id + '_jGraduate_SpreadInput').val(parseInt(radius*100)).change(function(e) { var x = this.value / 100; if(x < 0.01) { x = 0.01; } $this.paint.radialGradient.setAttribute('r', x); // Allow higher value, but pretend it's the max for the slider if(x > 2) x = 2; var posx =...
$('#' + id + '_jGraduate_SpreadArrows').css({'margin-left':posx});
$('#' + id + '_jGraduate_RadiusArrows').css({'margin-left':posx});
$('#' + id + '_jGraduate_SpreadInput').val(parseInt(radius*100)).change(function(e) { var x = this.value / 100; if(x < 0.01) { x = 0.01; } $this.paint.radialGradient.setAttribute('r', x); // Allow higher value, but pretend it's the max for the slider if(x > 2) x = 2; var posx =...
yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } var controlCurrentValue = ORBEON.xforms.Controls.getCurrentValue(control); ORBEON.xforms.ServerValueStore.set(control.id, controlCurr...
setTimeout(function() { yuiCalendar.nextYear(); var newYearRight = YAHOO.util.Dom.getElementsByClassName("calyearright", "a", calendarDiv); if (newYearRight && newYearRight[0]) newYearRight[0].focus(); }, 0);
yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } // Store initial server value ...
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.getElementById(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); ...
$('abbr.timeago').each(function() { var html = $(this).parent().html(); $(this).parent().html(html.replace(Symphony.Language.get('at') + ' ', '')); });
$('#context').change(function() { if ($(this.options[this.selectedIndex]).text() === l) { s.options.length = z; o.clone(true).appendTo(s); } });
$('abbr.timeago').each(function() { var html = $(this).parent().html(); $(this).parent().html(html.replace(Symphony.Language.get('at') + ' ', '')); });
!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.ea...
Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detac...
!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.ea...
ORBEON.xforms.Globals.serverValue[control.id] = controlCurrentValue;
ORBEON.xforms.ServerValueStore.set(control.id, controlCurrentValue);
yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } // Store initial server value ...
var link = ORBEON.util.Utils.getProperty(NEW_XHTML_LAYOUT_PROPERTY)
var link = ORBEON.util.Utils.isNewXHTMLLayout()
}, function() { ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue("repeat-shown", "true"); }, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.getProperty(NEW...
ORBEON.xforms.Events.click({target: YAHOO.util.Dom.get(this.dateValueInputId), button: 0 }); var nextYear = YAHOO.util.Dom.getElementsByClassName("calyearright", null, "orbeon-calendar-div")[0]; YAHOO.util.UserAction.click(nextYear); this.wait(function() { var monthYear = YAHOO.util.Dom.getElementsByClassName("calnav",...
YAHOO.util.Assert.areEqual("2010-01-31", ORBEON.xforms.Document.getValue(this.dateValueControlId), "value was parsed"); });
}, function() { // Click on Next Year ORBEON.xforms.Events.click({target: YAHOO.util.Dom.get(this.dateValueInputId), button: 0 }); var nextYear = YAHOO.util.Dom.getElementsByClassName("calyearright", null, "orbeon-calendar-div")[0]; YAHOO.util.UserAction.click(nextYea...
ORBEON.xforms.Server.showError("Error while processing response", details, formID); },
ORBEON.xforms.Server.showError("Error while processing response", detailsGeneric, formID); },
window.setTimeout(function() { ORBEON.xforms.Server.showError("Error while processing response", details, formID); },
$('select').change(function(){$(this).blur();});
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_groups_grid").reload(); eastPanel.functions.close(); } else if (result.errors){ form.markInvalid(errors) } else return false })
$('select').change(function(){$(this).blur();});
thiss.openAccordionCase(thiss, '_314217', function() { var tbody = YAHOO.util.Dom.get('my-accordion$table-314217$table-314217-tbody'); var bodyContainer = tbody.parentNode.parentNode; thiss.checkHorizontalScrollbar(bodyContainer); thiss.closeAccordionCase(thiss, '_314217'); });
thiss.openAccordionCase(thiss, '_314359', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314359$table-314359-table'); thiss.checkIsSplit(table, true); thiss.checkTableStructure(table, 2, true); thiss.checkCellClasses(table, true); thiss.checkCellStyles(table, true); thiss.closeAccordionCase(thiss, '_...
thiss.openAccordionCase(thiss, '_314217', function() { var tbody = YAHOO.util.Dom.get('my-accordion$table-314217$table-314217-tbody'); var bodyContainer = tbody.parentNode.parentNode; thiss.checkHorizontalScrollbar(bodyContainer); thiss.closeAccordionCase(thiss, '_314...
YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { if (ORBEON.util.Dom.getAttribute(element, "target") == null && ORBEON.uti...
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { ...
$('#' + id + '_rg_jGraduate_Opacity').mousedown(function(evt) { setRgOpacitySlider(evt, $(this)); bSlidingOpacity = true;
$('#' + id + '_jGraduate_Radius').mousedown(function(evt) { setRadiusSlider(evt, $(this)); bSlidingRadius = true;
$('#' + id + '_rg_jGraduate_Opacity').mousedown(function(evt) { setRgOpacitySlider(evt, $(this)); bSlidingOpacity = true; evt.preventDefault(); }).mousemove(function(evt) {
yuiRTE.on("editorKeyUp", function() { changeEvent(control.id); });
yuiRTE.on("afterNodeChange", function() { changeEvent(control.id); });
yuiRTE.on("editorKeyUp", function() { changeEvent(control.id); });
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
function() { ORBEON.xforms.Server.executeNextRequest(false); },
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
if(this.get("limitCommands")){if(!this.toolbar.getButtonByValue("createlink")){E=false;}}if(E){this.execCommand("createlink","");this.toolbar.fireEvent("createlinkClick",{type:"createlinkClick",target:this.toolbar});this.fireEvent("afterExecCommand",{type:"afterExecCommand",target:this});L=false;}}}break;case this._key...
(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==...
if(this.get("limitCommands")){if(!this.toolbar.getButtonByValue("createlink")){E=false;}}if(E){this.execCommand("createlink","");this.toolbar.fireEvent("createlinkClick",{type:"createlinkClick",target:this.toolbar});this.fireEvent("afterExecCommand",{type:"afterExecCommand",target:this});L=false;}}}break;case this._key...
(function(jQuery){
$('*.contextual').each(function() { var a = $(this);
(function(jQuery){ // We override the animation for all of these color styles jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( f...
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( fx.elem, attr ); fx.end = getRGB( fx.end ); }
$('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_');
(function(jQuery){ // We override the animation for all of these color styles jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( f...
fx.elem.style[attr] = "rgb(" + [ Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0), Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0), Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0) ].join(",") + "...
a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']('irrelevant'); }); });
(function(jQuery){ // We override the animation for all of these color styles jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( f...
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||...
Y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=t.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detac...
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||...
if (ORBEON.util.Utils.getLocalName(element) == "submission" && ORBEON.util.Dom.getAttribute(element, "target") == null) foundSubmissionWithNoTarget = true;
var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load") && hasTargetAttribute) foundSubmissionOrLoadWithNoTarget = true;
YAHOO.util.Dom.getElementsBy(function(element) { if (ORBEON.util.Utils.getLocalName(element) == "submission" && ORBEON.util.Dom.getAttribute(element, "target") == null) foundSubmissionWithNoTarget = true; }, null, responseXML.documentElement);
$('#selLayerNames').change(function(){ var destLayer = this.options[this.selectedIndex].value; var confirm_str = uiStrings.QmoveElemsToLayer.replace('%s',destLayer); var moveToLayer = function(ok) { if(!ok) return; promptMoveLayerOnce = true; svgCanvas.moveSelectedToLayer(destLayer); svgCanvas.clearSelection(); populat...
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_groups_grid").reload(); eastPanel.functions.close(); } else return false })
$('#selLayerNames').change(function(){ var destLayer = this.options[this.selectedIndex].value; var confirm_str = uiStrings.QmoveElemsToLayer.replace('%s',destLayer); var moveToLayer = function(ok) { if(!ok) return; promptMoveLayerOnce = true; svgCanvas.moveSelectedToLayer(destLayer); svgCanv...
thiss.openAccordionCase(thiss, 'widths', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table')); thiss.closeAccordionCase(thiss, 'widths'...
thiss.openAccordionCase(thiss, '_314217', function() { var tbody = YAHOO.util.Dom.get('my-accordion$table-314217$table-314217-tbody'); var bodyContainer = tbody.parentNode.parentNode; thiss.checkHorizontalScrollbar(bodyContainer); thiss.closeAccordionCase(thiss, '_314217'); });
thiss.openAccordionCase(thiss, 'widths', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table'));...
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; });
YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { if (ORBEON.util.Dom.getAttribute(element, "target") == null && ORBEON.uti...
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.Globals.serverValue[control.id] = null; });
if (bSlidingOpacity) { setRgOpacitySlider(evt, $(this));
if (bSlidingRadius) { setRadiusSlider(evt, $(this));
}).mousemove(function(evt) { if (bSlidingOpacity) { setRgOpacitySlider(evt, $(this)); evt.preventDefault(); } }).mouseup(function(evt) {
10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.cs...
this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.6"});d.ui.plugin.add("draggable","connectToSort...
10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.cs...
yuiRTE.on("afterNodeChange", function() { changeEvent(control.id); });
yuiRTE.on("editorContentLoaded", function() { if (!ORBEON.util.Utils.isNewXHTMLLayout()) { var rteContainer = control.parentNode; rteContainer.className += " " + control.className; } var controlCurrentValue = ORBEON.xforms.Controls.getCurrentValue(control); ORBEON.xforms.ServerValueStore.set(control.id, controlCurr...
yuiRTE.on("afterNodeChange", function() { changeEvent(control.id); });
YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { if (ORBEON.util.Dom.getAttribute(element, "target") == null && ORBEON.uti...
function() { ORBEON.xforms.Server.executeNextRequest(true); },
YAHOO.util.Dom.getElementsBy(function(element) { var localName = ORBEON.util.Utils.getLocalName(element); var hasTargetAttribute = ORBEON.util.Dom.getAttribute(element, "target") == null; if ((localName == "submission" || localName == "load")) { ...
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( fx.elem, attr ); fx.end = getRGB( fx.end ); }
$('#context').change(function() { var o = $(this.options[this.selectedIndex]).parent('optgroup'), c = this.value.replace(/\W+/g, '_'), g = o.attr('label').replace(/\W+/g, '_');
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( fx.elem, attr ); fx.end = getRGB( fx.end ); } fx.elem.style[attr] = "rg...
fx.elem.style[attr] = "rgb(" + [ Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0), Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0), Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0) ].join(",") + "...
a[(a.hasClass(c) || a.hasClass(g)) ^ a.hasClass('inverse') ? 'removeClass' : 'addClass']('irrelevant'); });
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ jQuery.fx.step[attr] = function(fx){ if ( fx.state == 0 ) { fx.start = getColor( fx.elem, attr ); fx.end = getRGB( fx.end ); } fx.elem.style[attr] = "rg...
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||...
var va=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},wa=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:func...
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||...
var link = ORBEON.util.Utils.getProperty(NEW_XHTML_LAYOUT_PROPERTY)
var link = ORBEON.util.Utils.isNewXHTMLLayout()
}, function() { var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.getProperty(NEW_XHTML_LAYOUT_PROPERTY) ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link.tagName.toLowerCase())...
$('#font_family').change(function() { svgCanvas.setFontFamily(this.value); });
callback:C.cbHandler(function(result){ if (result.success){ Ext.StoreMgr.get("manage_user_groups_grid").reload(); eastPanel.functions.close(); } else return false })
$('#font_family').change(function() { svgCanvas.setFontFamily(this.value); });
thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(table); thiss.closeAccordionCase(thiss, 'widths-resizeable'); });
thiss.openAccordionCase(thiss, 'widths', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(YAHOO.util.Dom.get('my-accordion$table-widths$table-widths-table')); thiss.closeAccordionCase(thiss, 'widths'...
thiss.openAccordionCase(thiss, 'widths-resizeable', function() { var table = YAHOO.util.Dom.get('my-accordion$table-widths-resizeable$table-widths-resizeable-table'); thiss.checkRowWidth(table.tHead.rows[0]); thiss.checkTableAndContainerWidths(table); thiss.closeAccor...
var table = YAHOO.util.Dom.get('my-accordion$table-314379$table-314379-table');
var table = YAHOO.util.Dom.get('my-accordion$table-314379').getElementsByTagName("table")[0];
thiss.openAccordionCase(thiss, '_314379', function() { ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("loading", "false"); }, function() { var table = YAHOO.util.Dom.get('my-accordion$table-314379$table-314379-ta...