rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
$('.stop, #color_picker_rg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY; evt.preventDefault();
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(centerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = centerColor.substr(1) + thisAlpha; $('#'+id+'_rg_jGraduate_stopPicker')...
$('.stop, #color_picker_rg_jGraduate_GradContainer image').mousedown(function(evt) { draggingStop = this; startx = evt.clientX; starty = evt.clientY; evt.preventDefault(); });
yuiTree.subscribe("clickEvent", function(object) { if (object.node.expanded) return false; });
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
yuiTree.subscribe("clickEvent", function(object) { // Return false if already expanded, which cancels the default action which is to expand if collapsed // or collapse if expanded if (object.node.expanded) return false; });
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
yuiTree.subscribe("clickEvent", function(object) { if (object.node.expanded) return false; });
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
ORBEON.xforms.Offline.formStore.capture(urlsToCapture, function (url, success, captureId) { if (url == urlsToCapture[urlsToCapture.length - 1]) ORBEON.xforms.Offline.isOnline = false; });
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true);
ORBEON.xforms.Offline.formStore.capture(urlsToCapture, function (url, success, captureId) { // When capture is done, mark the form as offline to prevent any event from being sent to the server if (url == urlsToCapture[urlsToCapture.length - 1]) ORBEON.xforms....
}YAHOO.widget.SimpleEditor.superclass.init.call(this,F,E);YAHOO.widget.EditorInfo._instances[this.get("id")]=this;this.currentElement=[];this.on("contentReady",function(){this.DOMReady=true;this.fireQueue();},this,true);},initAttributes:function(E){YAHOO.widget.SimpleEditor.superclass.initAttributes.call(this,E);var 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==...
}YAHOO.widget.SimpleEditor.superclass.init.call(this,F,E);YAHOO.widget.EditorInfo._instances[this.get("id")]=this;this.currentElement=[];this.on("contentReady",function(){this.DOMReady=true;this.fireQueue();},this,true);},initAttributes:function(E){YAHOO.widget.SimpleEditor.superclass.initAttributes.call(this,E);var F=...
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0...
0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b...
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0...
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
$('#palette').mouseover(function() { var inp = $('<input type="hidden">'); $(this).append(inp); inp.focus().remove(); });
callback:C.cbHandler(function(result){ if (result.success){ var grid = Ext.getCmp("manage_assigned_rights_grid") grid.getStore().reload(); C.infoMsg("Right Added.") } })
$('#palette').mouseover(function() { var inp = $('<input type="hidden">'); $(this).append(inp); inp.focus().remove(); });
thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible' || visibility == ...
thiss.openAccordionCase(thiss, '_314216', function() { var th = YAHOO.util.Dom.get('my-accordion$table-314216$th-314216-2'); var resizerliner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagAndClassName(th, 'div', 'yui-dt-resizerliner'); var liner = YAHOO.xbl.fr.Datatable.utils.getFirstChildByTagAndClassName(resizerli...
thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YA...
});
thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YA...
$('#'+id+'_rg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) + dy; if (x < MARGINX - STOP_RADIUS)...
}, function(color){ centerColor = color.val('hex') ? ('#'+color.val('hex')) : "none"; centerOpacity = color.val('ahex') ? color.val('ahex')/100 : 1; colorbox.css('background', centerColor); $('#'+id+'_rg_jGraduate_centerOpacity').html(parseInt(centerOpacity*100)+'%'); stops[0].setAttribute('stop-color', centerColor); s...
$('#'+id+'_rg_jgraduate_svg').mousemove(function(evt) { if (null != draggingStop) { var dx = evt.clientX - startx; var dy = evt.clientY - starty; startx += dx; starty += dy; var x = parseFloat(draggingStop.getAttribute('x')) + dx; var y = parseFloat(draggingStop.getAttribute('y')) ...
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
yuiTree.subscribe("expandComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
ORBEON.xforms.Offline._runShowingIndicator(function() { ORBEON.xforms.Offline.init(); var newEventsString = []; for (var eventIndex = 0; eventIndex < events.length; eventIndex++) { var event = events[eventIndex]; var eventArray = [ emptyStringIfNull(event.form.id), emptyStringIfNull(event.targetId), emptyStringIfNu...
FunctionCallExpr.prototype.xpathfunctions["xxforms:if"] = function(ctx) { var test = this.args[0].evaluate(ctx).booleanValue(); return new StringValue(this.args[test ? 1 : 2].evaluate(ctx).stringValue()); };
ORBEON.xforms.Offline._runShowingIndicator(function() { ORBEON.xforms.Offline.init(); // Compute new events var newEventsString = []; for (var eventIndex = 0; eventIndex < events.length; eventIndex++) { var event = events[eventIndex]; // ...
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0...
0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b...
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0...
var control = document.getElementById(this.outputFileId); var children = YAHOO.util.Dom.getChildren(control); YAHOO.util.Assert.areEqual(1, children.length); var a = children[0]; YAHOO.util.Assert.areNotEqual(-1, a.href.indexOf("/orbeon/xforms-server/dynamic/")); YAHOO.util.Assert.areEqual("Download file", ORBEON.ut...
var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayout() ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link.tagName.toLowerCase()); YAHOO.util.Assert.areEqual("Label", link.innerHTML);
}, function() { ORBEON.util.Test.executeCausingAjaxRequest(this, function() { ORBEON.xforms.Document.setValue("repeat-shown", "true"); }, function() { var control = document.getElementById(this.outputFileId); var children = YAHOO.util.Dom.getChi...
$('.palette_item').click(function(evt){ var picker = (evt.shiftKey ? "stroke" : "fill"); var id = (evt.shiftKey ? '#stroke_' : '#fill_'); var color = $(this).attr('data-rgb'); var rectbox = document.getElementById("gradbox_"+picker).parentNode.firstChild; var paint = null; if (color == 'transparent' || color == 'init...
callback:C.cbHandler(function(result){ if (result.success){ C.body.unmask(); C.infoMsg("Removed '" + name + "'"); Ext.getCmp("manage_assigned_rights_grid") .getBottomToolbar().onClick("refresh") } else return false })
$('.palette_item').click(function(evt){ var picker = (evt.shiftKey ? "stroke" : "fill"); var id = (evt.shiftKey ? '#stroke_' : '#fill_'); var color = $(this).attr('data-rgb'); var rectbox = document.getElementById("gradbox_"+picker).parentNode.firstChild; var paint = null; // Webkit-based browser...
thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible' || visibility == 'inherit', 'Visibility should be visible or inherit, not...
thiss.closeAccordionCase(thiss, '_314209', function() { thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible' || visibility == ...
thiss.openAccordionCase(thiss, '_314209', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314209$table-314209-table'); var visibility = YAHOO.util.Dom.getStyle(table, 'visibility'); YAHOO.util.Assert.isTrue(visibility == 'visible' || visibility ==...
window.setTimeout(function() { f(); xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
ORBEON.xforms.Offline._runShowingIndicator(function() { var xpathNode = document.createElement("dummy"); var xpathContext = new ExprContext(xpathNode); for (var variableName in ORBEON.xforms.Offline.variables) { var controlID = ORBEON.xforms.Offline.variables[variableName].value; var variableValue = ORBEON.xforms.Con...
window.setTimeout(function() { // Run actual code f(); // Hide loading indicator xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
$('#'+id+'_rg_jgraduate_svg').mouseup(function(evt) { draggingStop = null; });
}, null, function() { $('div.jGraduate_LightBox').hide(); $('#'+id+'_rg_jGraduate_stopPicker').hide(); });
$('#'+id+'_rg_jgraduate_svg').mouseup(function(evt) { draggingStop = null; });
(function(e){e.widget("ui.resizable",e.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,z...
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...
(function(e){e.widget("ui.resizable",e.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,z...
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Server.executeNextRequest(false); },
yuiTree.subscribe("collapseComplete", function() { addTreeToolTip(); });
function() { ORBEON.xforms.Server.executeNextRequest(false); },
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3]...
0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b...
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3]...
$("#toggle_stroke_tools").toggle(function() { $(".stroke_tool").css('display','table-cell'); $(this).text('<<'); }, function() {
callback:C.cbHandler(function(result){ if (result.success){ C.body.unmask(); C.infoMsg("Removed '" + name + "'"); Ext.getCmp("manage_assigned_rights_grid") .getBottomToolbar().onClick("refresh") } else return false })
$("#toggle_stroke_tools").toggle(function() { $(".stroke_tool").css('display','table-cell'); $(this).text('<<'); }, function() {
YAHOO.util.Event.addListener(clear, "click", function (event) { var target = getEventTarget(event); while (target.nextSibling) target.parentNode.removeChild(target.nextSibling); return false; });
window.setTimeout(function() { f(); xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
YAHOO.util.Event.addListener(clear, "click", function (event) { var target = getEventTarget(event); while (target.nextSibling) target.parentNode.removeChild(target.nextSibling); return false; });
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show();
$('#'+id+'_jGraduate_colorBoxOuter').click(function() { $('div.jGraduate_LightBox').show();
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(centerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = centerColor.substr(1) + thisAlpha; $('#'...
var thisAlpha = (parseFloat(centerOpacity)*255).toString(16);
var thisAlpha = (parseFloat(outerOpacity)*255).toString(16);
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(centerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = centerColor.substr(1) + thisAlpha; $('#'...
color = centerColor.substr(1) + thisAlpha; $('#'+id+'_rg_jGraduate_stopPicker').css({'left': 100, 'bottom': 15}).jPicker({ window: { title: "Pick the center color and opacity for the gradient" },
color = outerColor.substr(1) + thisAlpha; $('#'+id+'_rg_jGraduate_stopPicker').css({'left': 100, 'top': 15}).jPicker({ window: { title: "Pick the outer color and opacity for the gradient" },
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(centerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = centerColor.substr(1) + thisAlpha; $('#'...
centerColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; centerOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', centerColor); $('#'+id+'_rg_jGraduate_centerOpacity').html(parseInt(centerOpacity*100)+'%'); stops[0].setAttribute('stop-color', centerColor); stops[0].setAttribute('stop-opa...
outerColor = color.val('hex') ? ('#'+color.val('hex')) : "none"; outerOpacity = color.val('ahex') ? color.val('ahex')/100 : 1; colorbox.css('background', outerColor); $('#'+id+'_jGraduate_outerOpacity').html(parseInt(outerOpacity*100)+'%'); stops[1].setAttribute('stop-color', outerColor); stops[1].setAttribute('stop-op...
$('#'+id+'_jGraduate_colorBoxCenter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(centerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = centerColor.substr(1) + thisAlpha; $('#'...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
function() { ORBEON.xforms.Server.executeNextRequest(true); },
_.each(_.keys(this._idToControl), function(id) { if (! YAHOO.util.Dom.inDocument(this._idToControl[id])) this.remove(id); })
function() { ORBEON.xforms.Server.executeNextRequest(true); },
window.setTimeout(function() { f(); xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
ORBEON.xforms.Offline.formStore.capture(urlsToCapture, function (url, success, captureId) { if (url == urlsToCapture[urlsToCapture.length - 1]) ORBEON.xforms.Offline.isOnline = false; });
window.setTimeout(function() { // Run actual code f(); // Hide loading indicator xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
this.setAttributeConfig("drag",{writeOnce:true,value:E.drag||false});this.setAttributeConfig("resize",{writeOnce:true,value:E.resize||false});},_getBlankImage:function(){if(!this.DOMReady){this._queue[this._queue.length]=["_getBlankImage",arguments];return"";}var E="";if(!this._blankImageLoaded){if(YAHOO.widget.EditorI...
(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.setAttributeConfig("drag",{writeOnce:true,value:E.drag||false});this.setAttributeConfig("resize",{writeOnce:true,value:E.resize||false});},_getBlankImage:function(){if(!this.DOMReady){this._queue[this._queue.length]=["_getBlankImage",arguments];return"";}var E="";if(!this._blankImageLoaded){if(YAHOO.widget.EditorI...
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(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.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
var control = document.getElementById(this.outputFileId); var children = YAHOO.util.Dom.getChildren(control); YAHOO.util.Assert.areEqual(1, children.length); var a = children[0]; YAHOO.util.Assert.areNotEqual(-1, a.href.indexOf("/orbeon/xforms-server/dynamic/")); YAHOO.util.Assert.areEqual("Download file", ORBEON.ut...
var trigger = YAHOO.util.Dom.get(this.triggerId); var link = ORBEON.util.Utils.isNewXHTMLLayout() ? YAHOO.util.Dom.getFirstChild(trigger) : trigger; YAHOO.util.Assert.areEqual("a", link.tagName.toLowerCase()); YAHOO.util.Assert.areEqual("Label", link.innerHTML);
}, function() { var control = document.getElementById(this.outputFileId); var children = YAHOO.util.Dom.getChildren(control); // Check we still have the link YAHOO.util.Assert.areEqual(1, children.length); var a = children[0]; ...
}, function() { $(".stroke_tool").css('display','none'); $(this).text('>>'); });
callback:C.cbHandler(function(result){ if (result.success){ window.open("../permissions/index.ejs?auth_token=" + encodeURIComponent(result.token)); } else return false })
}, function() { $(".stroke_tool").css('display','none'); $(this).text('>>'); });
thiss.openAccordionCase(thiss, '_314174', function() { thiss.closeAccordionCase(thiss, '_314174'); });
thiss.openAccordionCase(thiss, '_314211', function() { var table = YAHOO.util.Dom.get('my-accordion$table-314211$table-314211-table'); YAHOO.util.Assert.isTrue(table.clientWidth < 300, 'The table width (' + table.clientWidth + "px) should be small, let's say < 300px..."); thiss.closeAccordionCase(thiss, '_314211'); })...
thiss.openAccordionCase(thiss, '_314174', function() { //TODO: test something here! thiss.closeAccordionCase(thiss, '_314174'); });
centerColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; centerOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', centerColor); $('#'+id+'_rg_jGraduate_centerOpacity').html(parseInt(centerOpacity*100)+'%'); stops[0].setAttribute('stop-color', centerColor); stops[0].setAttribute('stop-opa...
outerColor = color.val('hex') ? ('#'+color.val('hex')) : "none"; outerOpacity = color.val('ahex') ? color.val('ahex')/100 : 1; colorbox.css('background', outerColor); $('#'+id+'_jGraduate_outerOpacity').html(parseInt(outerOpacity*100)+'%'); stops[1].setAttribute('stop-color', outerColor); stops[1].setAttribute('stop-op...
}, function(color){ centerColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; centerOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', centerColor); $('#'+id+'_rg_jGraduate_centerOpacity').html(parseInt(centerOpacity*100)+'%'); stops[0].setAttribute('st...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
function() { ORBEON.xforms.Globals.executeEventFunctionQueued--; if (ORBEON.xforms.Globals.executeEventFunctionQueued == 0) ORBEON.xforms.Offline.evaluateMIPs(); },
function() { ORBEON.xforms.Server.executeNextRequest(false); },
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.get(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.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
YAHOO.util.Event.addListener(clear, "click", function (event) { var target = getEventTarget(event); while (target.nextSibling) target.parentNode.removeChild(target.nextSibling); return false;
ORBEON.xforms.Offline._runShowingIndicator(function() { ORBEON.xforms.Offline.init(); var newEventsString = []; for (var eventIndex = 0; eventIndex < events.length; eventIndex++) { var event = events[eventIndex]; var eventArray = [ emptyStringIfNull(event.form.id), emptyStringIfNull(event.targetId), emptyStringIfNu...
YAHOO.util.Event.addListener(clear, "click", function (event) { var target = getEventTarget(event); while (target.nextSibling) target.parentNode.removeChild(target.nextSibling); return false; });
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChi...
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focus...
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChi...
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
YAHOO.util.UserAction.click("set-type-date" + XFORMS_SEPARATOR_1 + "1");
ORBEON.xforms.Document.setValue("repeat-shown", "false");
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("set-type-date" + XFORMS_SEPARATOR_1 + "1"); }, function() {
ORBEON.xforms.Events.orbeonLoadedEvent.subscribe(function() { if (parent && parent.TestManager) { parent.TestManager.load(); } else { new YAHOO.tool.TestLogger(); YAHOO.tool.TestRunner.run(); } });
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("set-type-date" + XFORMS_SEPARATOR_1 + "1"); }, function() {
ORBEON.xforms.Events.orbeonLoadedEvent.subscribe(function() { if (parent && parent.TestManager) { parent.TestManager.load(); } else { new YAHOO.tool.TestLogger(); YAHOO.tool.TestRunner.run(); }});
(function() { var last_x = null, last_y = null, w_area = workarea[0], panning = false, keypan = false; $('#svgcanvas').bind('mousemove mouseup', function(evt) { if(panning === false) return; w_area.scrollLeft -= (evt.clientX - last_x); w_area.scrollTop -= (evt.clientY - last_y); last_x = evt.clientX; last_y = evt.cl...
callback:C.cbHandler(function(result){ if (result.success){ window.open("../permissions/index.ejs?auth_token=" + encodeURIComponent(result.token)); } else return false })
(function() { var last_x = null, last_y = null, w_area = workarea[0], panning = false, keypan = false; $('#svgcanvas').bind('mousemove mouseup', function(evt) { if(panning === false) return; w_area.scrollLeft -= (evt.clientX - last_x); w_area.scrollTop -= (evt.clientY - last_y); l...
thiss.openAccordionCase(thiss, '_314210', function() { var headerTable = YAHOO.util.Dom.get('my-accordion$table-314210$table-314210-table'); YAHOO.util.Assert.isTrue(headerTable.clientWidth == headerTable.parentNode.clientWidth, 'The table header width (' + headerTable.clientWidth + 'px) should be equal than its contai...
thiss.openAccordionCase(thiss, '_314174', function() { thiss.closeAccordionCase(thiss, '_314174'); });
thiss.openAccordionCase(thiss, '_314210', function() { var headerTable = YAHOO.util.Dom.get('my-accordion$table-314210$table-314210-table'); YAHOO.util.Assert.isTrue(headerTable.clientWidth == headerTable.parentNode.clientWidth, 'The table header width (' + headerTable.clientWidth + 'px) s...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b<a.length;b++)a[b]==this&&a.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,b){i...
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handle...
function() { ORBEON.xforms.Server.executeNextRequest(false); },
function() { ORBEON.xforms.Server.executeNextRequest(true); },
function() { ORBEON.xforms.Server.executeNextRequest(false); },
YAHOO.util.Event.addListener(debugDiv, "mousedown", function (event) { ORBEON.xforms.Globals.debugDiv = getEventTarget(event); return false;
ORBEON.xforms.Offline._runShowingIndicator(function() { var xpathNode = document.createElement("dummy"); var xpathContext = new ExprContext(xpathNode); for (var variableName in ORBEON.xforms.Offline.variables) { var controlID = ORBEON.xforms.Offline.variables[variableName].value; var variableValue = ORBEON.xforms.Con...
YAHOO.util.Event.addListener(debugDiv, "mousedown", function (event) { ORBEON.xforms.Globals.debugDiv = getEventTarget(event); return false; });
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTag...
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focus...
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTag...
var inputInput = ORBEON.util.Dom.getChildElementByClass(input, "xforms-input-input"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(inputInput, "xforms-type-date"));
}, function() { var inputInput = ORBEON.util.Dom.getChildElementByClass(input, "xforms-input-input"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(inputInput, "xforms-type-date")); ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAc...
YAHOO.util.UserAction.click("set-type-float" + XFORMS_SEPARATOR_1 + "1");
ORBEON.xforms.Document.setValue("repeat-shown", "true");
}, function() { var inputInput = ORBEON.util.Dom.getChildElementByClass(input, "xforms-input-input"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(inputInput, "xforms-type-date")); ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAc...
var inputInput = ORBEON.util.Dom.getChildElementByClass(input, "xforms-input-input"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(inputInput, "xforms-type-string"));
var control = document.getElementById(this.outputFileId); var children = YAHOO.util.Dom.getChildren(control); YAHOO.util.Assert.areEqual(1, children.length); var a = children[0]; YAHOO.util.Assert.areNotEqual(-1, a.href.indexOf("/orbeon/xforms-server/dynamic/")); YAHOO.util.Assert.areEqual("Download file", ORBEON.ut...
}, function() { var inputInput = ORBEON.util.Dom.getChildElementByClass(input, "xforms-input-input"); YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(inputInput, "xforms-type-date")); ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAc...
thiss.openAccordionCase(thiss, '_314292', function() { window.resizeBy(-50, 0); thiss.wait(function() { var table = YAHOO.util.Dom.get('my-accordion$table-314292$table-314292-table'); thiss.checkEmbeddedWidthAndHeight(table.parentNode.parentNode); thiss.checkTableAndContainerWidths(table); var tableX = YAHOO.util.Dom....
thiss.openAccordionCase(thiss, '_314210', function() { var headerTable = YAHOO.util.Dom.get('my-accordion$table-314210$table-314210-table'); YAHOO.util.Assert.isTrue(headerTable.clientWidth == headerTable.parentNode.clientWidth, 'The table header width (' + headerTable.clientWidth + 'px) should be equal than its contai...
thiss.openAccordionCase(thiss, '_314292', function() { window.resizeBy(-50, 0); thiss.wait(function() { var table = YAHOO.util.Dom.get('my-accordion$table-314292$table-314292-table'); // The following test seems to detect the root cause of this bug ...
$('#'+id+'_jGraduate_colorBoxOuter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(outerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = outerColor.substr(1) + thisAlpha; $('#'+id+'_rg_jGraduate_stopPicker').cs...
function(color) { $this.paint.type = "solidColor"; $this.paint.alpha = color.val('ahex') ? Math.round((color.val('a') / 255) * 100) : 100; $this.paint.solidColor = color.val('hex') ? color.val('hex') : "none"; $this.paint.radialGradient = null; okClicked(); },
$('#'+id+'_jGraduate_colorBoxOuter').click(function() { $('div.jGraduate_LightBox').show(); var colorbox = $(this); var thisAlpha = (parseFloat(outerOpacity)*255).toString(16); while (thisAlpha.length < 2) { thisAlpha = "0" + thisAlpha; } color = outerColor.substr(1) + thisAlpha; $('#'+id+'_...
c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&&(e(b).is(":hidden")||e(b).parents(":hidden...
this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:...
c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&&(e(b).is(":hidden")||e(b).parents(":hidden...
function() { ORBEON.xforms.Server.executeNextRequest(true); },
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
function() { ORBEON.xforms.Server.executeNextRequest(true); },
YAHOO.util.Event.addListener(document, "mouseup", function (event) { ORBEON.xforms.Globals.debugDiv = null; return false; });
window.setTimeout(function() { f(); xformsDisplayIndicator("none"); }, ORBEON.util.Properties.internalShortDelay.get());
YAHOO.util.Event.addListener(document, "mouseup", function (event) { ORBEON.xforms.Globals.debugDiv = null; return false; });
},render:function(){if(this._rendered){return false;}if(!this.DOMReady){this._queue[this._queue.length]=["render",arguments];return false;}if(this.get("element")){if(this.get("element").tagName){this._textarea=true;if(this.get("element").tagName.toLowerCase()!=="textarea"){this._textarea=false;}}else{return false;}}els...
(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==...
},render:function(){if(this._rendered){return false;}if(!this.DOMReady){this._queue[this._queue.length]=["render",arguments];return false;}if(this.get("element")){if(this.get("element").tagName){this._textarea=true;if(this.get("element").tagName.toLowerCase()!=="textarea"){this._textarea=false;}}else{return false;}}els...
$('#svgcanvas').bind('mousemove mouseup', function(evt) { if(panning === false) return; w_area.scrollLeft -= (evt.clientX - last_x); w_area.scrollTop -= (evt.clientY - last_y); last_x = evt.clientX; last_y = evt.clientY; if(evt.type === 'mouseup') panning = false; return false; }).mousedown(function(evt) {
callback:C.cbHandler(function(result){ if (result.success){ var grid = Ext.getCmp("manage_assigned_rights_grid") grid.getStore().reload(); C.infoMsg("Right Added.") } })
$('#svgcanvas').bind('mousemove mouseup', function(evt) { if(panning === false) return; w_area.scrollLeft -= (evt.clientX - last_x); w_area.scrollTop -= (evt.clientY - last_y); last_x = evt.clientX; last_y = evt.clientY; if(evt.type === 'mouseup') panning = false; return false;...
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAl...
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ya={focus:"focusin",blur:"focus...
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAl...
YAHOO.util.UserAction.click("set-type-float" + XFORMS_SEPARATOR_1 + "1");
ORBEON.xforms.Document.setValue("repeat-shown", "true");
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { YAHOO.util.UserAction.click("set-type-float" + XFORMS_SEPARATOR_1 + "1"); }, function() {
thiss.wait(function() { var table = YAHOO.util.Dom.get('my-accordion$table-314292$table-314292-table'); thiss.checkEmbeddedWidthAndHeight(table.parentNode.parentNode); thiss.checkTableAndContainerWidths(table); var tableX = YAHOO.util.Dom.getX(table); var containerX = YAHOO.util.Dom.getX(table.parentNode.parentNode); ...
thiss.openAccordionCase(thiss, '_314292', function() { window.resizeBy(-50, 0); thiss.wait(function() { var table = YAHOO.util.Dom.get('my-accordion$table-314292$table-314292-table'); thiss.checkEmbeddedWidthAndHeight(table.parentNode.parentNode); thiss.checkTableAndContainerWidths(table); var tableX = YAHOO.util.Dom....
thiss.wait(function() { var table = YAHOO.util.Dom.get('my-accordion$table-314292$table-314292-table'); // The following test seems to detect the root cause of this bug thiss.checkEmbeddedWidthAndHeight(table.parentNode.parentNode); thiss.checkTabl...
}, function(color){ outerColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; outerOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', outerColor); $('#'+id+'_jGraduate_outerOpacity').html(parseInt(outerOpacity*100)+'%'); stops[1].setAttribute('stop-color', outerColor); stops[1].setAttribut...
function(){ cancelClicked(); }
}, function(color){ outerColor = color.get_Hex() ? ('#'+color.get_Hex()) : "none"; outerOpacity = color.get_A() ? color.get_A()/100 : 1; colorbox.css('background', outerColor); $('#'+id+'_jGraduate_outerOpacity').html(parseInt(outerOpacity*100)+'%'); stops[1].setAttribute('stop-color...
{version:"1.8.4"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),...
"none";if(c[f].visible){c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight};e=="mousedown"&&c[f]._activate.call(c[f],b)}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.opti...
{version:"1.8.4"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),...
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
else window.setTimeout(function() { xformsDisplayLoading(progressMessage); }, delayBeforeDisplayLoading);
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
}).mousedown(function(evt) { if(evt.button === 1 || keypan === true) { panning = true; last_x = evt.clientX; last_y = evt.clientY; return false; } });
callback:C.cbHandler(function(result){ if (result.success){ C.body.unmask(); C.infoMsg("removed '" + name + "'"); Ext.getCmp("manage_user_group_members_grid") .getBottomToolbar().onClick("refresh") } else return false })
}).mousedown(function(evt) { if(evt.button === 1 || keypan === true) { panning = true; last_x = evt.clientX; last_y = evt.clientY; return false; } });
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true);
anim.onComplete.subscribe(_.bind(function(cursor) { cursor.style.height = "auto"; }, this, cursor));
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.ServerValueStore.remove(control.id); });
var timerId = window.setTimeout(function () { var event = new ORBEON.xforms.Server.Event(ORBEON.util.Dom.get(formID), null, null, serverEvents, "server-events", null, null, null, showProgress, progressMessage); ORBEON.xforms.Server.fireEvents([event]); }, delay);
YAHOO.util.Dom.getElementsByClassName("xforms-control", null, lastElementToDelete, function(control) { ORBEON.xforms.ServerValueStore.remove(control.id); });
YAHOO.util.Event.addListener(document, "mousemove", function (event) { if (ORBEON.xforms.Globals.debugDiv) { ORBEON.xforms.Globals.debugDiv.style.left = event.clientX; ORBEON.xforms.Globals.debugDiv.style.top = event.clientY; }
YAHOO.util.Event.addListener(clear, "click", function (event) { var target = getEventTarget(event); while (target.nextSibling) target.parentNode.removeChild(target.nextSibling);
YAHOO.util.Event.addListener(document, "mousemove", function (event) { if (ORBEON.xforms.Globals.debugDiv) { ORBEON.xforms.Globals.debugDiv.style.left = event.clientX; ORBEON.xforms.Globals.debugDiv.style.top = event.clientY; } return false; ...
anim.onComplete.subscribe(_.bind(function(cursor) { cursor.style.height = "auto"; }, this, cursor));
var existingType = _.detect(INPUT_TYPES, function(type) { return type.className == null || YAHOO.util.Dom.hasClass(documentElement, type.className); });
anim.onComplete.subscribe(_.bind(function(cursor) { // Set back the height to auto when the animation is finished // This is also needed because t...
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.ServerValueStore.remove(control.id); });
YAHOO.util.Dom.batch(YAHOO.util.Dom.getChildren(element), function(childElement) { this._renumberIDsWorker(childElement, repeatDepth, newIndex); }, this, true);
options = optgroup.remove().find('option').addClass('group');
options = optgroup.remove().find('option').addClass('optgroup');
$(document).ready(function() { // Initialize Symphony Symphony.init(); // Tags $('.tags').symphonyTags(); // Pickers $('.picker').symphonyPickable(); // Orderable list $('ul.orderable').symphonyOrderable(); // Orderable tables var orderable = $('table.orderable'); orderable.symphonyOrderable({ items: ...
select.find('options.group').remove();
select.find('option.optgroup').remove();
$(document).ready(function() { // Initialize Symphony Symphony.init(); // Tags $('.tags').symphonyTags(); // Pickers $('.picker').symphonyPickable(); // Orderable list $('ul.orderable').symphonyOrderable(); // Orderable tables var orderable = $('table.orderable'); orderable.symphonyOrderable({ items: ...
}, function() { var table1 = YAHOO.util.Dom.get('my-accordion$repeat-refresh-table$repeat-refresh-table-table·1'); var table2 = YAHOO.util.Dom.get('my-accordion$repeat-refresh-table$repeat-refresh-table-table·2'); thiss.checkCellClasses(table1, true); thiss.checkCellStyles(table1, true); thiss.checkCellClasses(table2,...
ORBEON.util.Test.executeCausingAjaxRequest(thiss, function() { ORBEON.xforms.Document.setValue("maxLength", "100"); }, function() {
}, function() { // If the tables have been correctly updated, their cells styles (IE) or classes (FF) should be set var table1 = YAHOO.util.Dom.get('my-accordion$repeat-refresh-table$repeat-refresh-table-table·1'); var table2 = YAHOO.util.Dom.get(...
$("#html-validation-close").click(function () { hideResultsPresentation(); });
return setTimeout(function () { createErrorList(); }, 100);
$("#html-validation-close").click(function () { hideResultsPresentation(); });
Event.on([h2, h2.firstChild], 'focus', function() { this._handleFocus(); }, this, true);
: function(t) { return new Node(t, type); },
Event.on([h2, h2.firstChild], 'focus', function() { this._handleFocus(); }, this, true);
$('.toolbar_button button > svg, .toolbar_button button > img').each(function() { $(this).parent().prepend(this); });
$('#jsonArrayEditor').fadeOut('slow', function () { $('#jsonEditor').fadeIn('slow'); });
$('.toolbar_button button > svg, .toolbar_button button > img').each(function() { $(this).parent().prepend(this); });
$('#edit-follow', context).change( function() { if ($('#edit-follow:checked').length) { $('#edit-follow-parent-wrapper').slideDown('fast');
$('.menu-block-follow', context).change( function() { if ($('.menu-block-follow:checked').length) { $('.menu-block-follow-parent').slideDown('fast');
$('#edit-follow', context).change( function() { if ($('#edit-follow:checked').length) { $('#edit-follow-parent-wrapper').slideDown('fast'); } else { $('#edit-follow-parent-wrapper').slideUp('fast'); } } );
$('#edit-follow-parent-wrapper').slideUp('fast');
$('.menu-block-follow-parent').slideUp('fast');
$('#edit-follow', context).change( function() { if ($('#edit-follow:checked').length) { $('#edit-follow-parent-wrapper').slideDown('fast'); } else { $('#edit-follow-parent-wrapper').slideUp('fast'); } } );
$.each(['lg', 'rg'], function(i) { var grad_id = id + '_' + this; var container = document.getElementById(grad_id+'_jGraduate_GradContainer'); var svg = container.appendChild(document.createElementNS(ns.svg, 'svg')); svg.id = grad_id + '_jgraduate_svg'; svg.setAttribute('width', MAX); svg.setAttribute('height', MAX); s...
(function() { var svg = document.getElementById(id + '_lg_jgraduate_svg'); if ($this.paint.type == "linearGradient") { $this.paint.linearGradient.id = id+'_jgraduate_grad'; $this.paint.linearGradient = svg.appendChild($this.paint.linearGradient.cloneNode(true)); } else { var grad = svg.appendChild(document.createElem...
$.each(['lg', 'rg'], function(i) { var grad_id = id + '_' + this; var container = document.getElementById(grad_id+'_jGraduate_GradContainer'); var svg = container.appendChild(document.createElementNS(ns.svg, 'svg')); svg.id = grad_id + '_jgraduate_svg'; svg.setAttribute('...
dj.respond(res, result, 'text/plain');
if (error) { dj.default_show_500(req, res, error); } else { dj.respond(res, result, 'text/plain'); }
template_loader.load_and_render('template.html', test_context, function (error, result) { dj.respond(res, result, 'text/plain'); });
['^/html$', function (req, res) { template_system.load('template.html', function (error, template) { template.render(test_context, function (error, html) { dj.respond(res, html, 'text/html'); }); }) }]
template_loader.load_and_render('template.html', test_context, function (error, result) { dj.respond(res, result, 'text/plain'); });
['^/html$', function (req, res) { template_system.load('template.html', function (error, template) { template.render(test_context, function (error, html) { dj.respond(res, html, 'text/html'); }); }) }]
_redisCommandClient[redisOp](queryKey, itemId, bind(this, function(err, opChangedSet) { if (err) { throw logger.error('Could not modify query set', redisOp, queryKey, err) } logger.log('Processed:', value, compareOperator, compareValue, 'Belongs?', shouldBeInSet, 'Changed?', opChangedSet) if (!opChangedSet) { return } ...
this._redisCommandClient.keys(propKeyPattern, bind(this, function(err, keysBytes) { if (err) { throw logger.error('Could not retrieve keys for processing', propKeyPattern, err) } if (!keysBytes) { return } this._processKeys(propName, keysBytes.toString().split(','))
_redisCommandClient[redisOp](queryKey, itemId, bind(this, function(err, opChangedSet) { if (err) { throw logger.error('Could not modify query set', redisOp, queryKey, err) } logger.log('Processed:', value, compareOperator, compareValue, 'Belongs?', shouldBeInSet, 'Changed?', opChangedSet) if (!opChangedSet)...
this._itemStore.getItemData(id, bind(this, function(err, data) { if (err) { logger.warn("Could not retrieve item from db", id, err) return } logger.log('retrieved item from database', id) logger.debug('item data from database', JSON.stringify(data)) var item = this._itemFactory.getItem(data._id) item.setSnapshot(data, ...
this._redisClient.incr('__uniqueFinId', bind(this, function(err, newItemId) { var blockedCallback = blockCallback(bind(this, callback, newItemId)) for (var property in itemData) { var releaseBlockFn = blockedCallback.addBlock(), itemPropKey = shared.keys.getItemPropertyKey(newItemId, property) this._redisClient.set(i...
this._itemStore.getItemData(id, bind(this, function(err, data) { if (err) { logger.warn("Could not retrieve item from db", id, err) return } logger.log('retrieved item from database', id) logger.debug('item data from database', JSON.stringify(data)) var item = this._itemFactory.getItem(data._i...
this._redisClient.lrange(listKey, from, to, bind(this, function(err, itemBytesArray) { if (err) { throw logger.error('could not retrieve list range', listKey, from, to, err) } if (!itemBytesArray) { callback([]) return } var items = map(itemBytesArray, function(itemBytes) { return itemBytes.toString() }) callback(item...
this._redisClient.get(key, bind(this, function(err, valueBytes) { if (err) { throw logger.error('could not retrieve properties for item', key, err) } callback((valueBytes ? valueBytes.toString() : "null"), key)
this._redisClient.lrange(listKey, from, to, bind(this, function(err, itemBytesArray) { if (err) { throw logger.error('could not retrieve list range', listKey, from, to, err) } if (!itemBytesArray) { callback([]) return } var items = map(itemBytesArray, function(itemBytes) { return itemBytes.toString(...
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { button.click(); }, function() {
}, function() { var tr = YD.getNextSibling(groupBegin); YA.areEqual("tr", tr.tagName.toLowerCase()); YA.isFalse(YD.hasClass(tr, "xforms-disabled")); });
ORBEON.util.Test.executeCausingAjaxRequest(this, function() { button.click(); }, function() {
var sameDirection = $.grep(all, function (a) { return a && (a.labelHeight || a.labelWidth);
var samePosition = $.grep(all, function (a) { return a && a.options.position == pos && (a.labelHeight || a.labelWidth);
var sameDirection = $.grep(all, function (a) { return a && (a.labelHeight || a.labelWidth); });
YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshouldn't be initialized at that point");
var container = table.parentNode.parentNode; YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable shouldn't be initialized at that point");
thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshouldn't be initialized at that point"); ORBEO...
YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshould be initialized at that point");
var container = table.parentNode.parentNode; YAHOO.util.Assert.isTrue(YAHOO.util.Dom.hasClass(container, 'fr-dt-initialized'), "The datatable should be initialized at that point");
thiss.openAccordionCase(thiss, '_314466', function() { var table = YAHOO.util.Dom.get('my-accordion$_314466-table$_314466-table-table'); YAHOO.util.Assert.isFalse(YAHOO.util.Dom.hasClass(table, 'fr-dt-initialized'), "The datatable sshouldn't be initialized at that point"); ORBEO...
this.server.getItemProperty(itemId, propName, bind(this, function(value, key) { var mutation = { op: 'set', id: itemId, prop: propName, args: [value] } this.sendFrame('FIN_EVENT_ITEM_MUTATED', JSON.stringify(mutation)) }))
this.handleRequest('FIN_REQUEST_UNSUBSCRIBE', bind(this, function(key) { this._redisClient.unsubscribeFrom(key) }))
this.server.getItemProperty(itemId, propName, bind(this, function(value, key) { var mutation = { op: 'set', id: itemId, prop: propName, args: [value] } this.sendFrame('FIN_EVENT_ITEM_MUTATED', JSON.stringify(mutation)) }))
this.server.exists(request._id, bind(this, function(response) { response._requestId = request._requestId this.sendFrame('FIN_RESPONSE_ITEM_EXISTS', response)
this.server.data('get', key, bind(this, function(byteValue) { var value = String.fromCharCode.apply(String, Array.prototype.slice.call(byteValue, 0)), mutation = { op: 'set', args: [key, value] } logger.log("Retrieved data", key, value) this.sendFrame('FIN_EVENT_ITEM_MUTATED', JSON.stringify(mutation))
this.server.exists(request._id, bind(this, function(response) { response._requestId = request._requestId this.sendFrame('FIN_RESPONSE_ITEM_EXISTS', response) }))
$('.picker').symphonyPicker();
window.setTimeout("Symphony.Message.fade()", 10000); $('abbr.timeago').each(function() { var time = $(this).parent(); time.html(time.html.replace(Symphony.Language.get('at') + ' ', '')); }); Symphony.Message.timer();
$(document).ready(function() { // Initialize Symphony Symphony.init(); // Tags $('.tags').symphonyTags(); // Duplicators $('.filters-duplicator').symphonyDuplicator(); $('#fields-duplicator').symphonyDuplicator({ orderable: true }); // Pickers $('.picker').symphonyPicker(); });
var tr = YD.getNextSibling(groupBegin); YA.areEqual("tr", tr.tagName.toLowerCase()); YA.isFalse(YD.hasClass(tr, "xforms-disabled"));
var tr = YUD.getNextSibling(groupBegin); YUA.areEqual("tr", tr.tagName.toLowerCase()); YUA.isFalse(YUD.hasClass(tr, "xforms-disabled"));
}, function() { var tr = YD.getNextSibling(groupBegin); YA.areEqual("tr", tr.tagName.toLowerCase()); YA.isFalse(YD.hasClass(tr, "xforms-disabled")); });
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
"`").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...
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentEleme...
this._client.registerEventHandler('FIN_EVENT_MUTATION', bind(this, function(mutationJSON) { var mutation = JSON.parse(mutationJSON) logger.info('FIN_EVENT_MUTATION', mutation) this._handleMutation(mutation)
this._client.registerEventHandler('FIN_RESPONSE', bind(this, function(response) { logger.info('FIN_RESPONSE', response._requestId, response.data) this._executeCallback(response._requestId, response.data)
this._client.registerEventHandler('FIN_EVENT_MUTATION', bind(this, function(mutationJSON) { var mutation = JSON.parse(mutationJSON) logger.info('FIN_EVENT_MUTATION', mutation) this._handleMutation(mutation) }))