Displaying 9 results from an estimated 9 matches for "emptyfunction".
2006 Feb 07
1
onHover: can u explain me this function ?
...if(dropon.parentNode!=oldParentNode)
Sortable.options(oldParentNode).onChange(element);
Sortable.options(dropon.parentNode).onChange(element);
}
}
},
I was not able to understand what go these lines of code do? Cos onChange is
onChange: Prototype.emptyFunction,
And the emptyFunction is
emptyFunction: function() {},
So I''m kinda lost, can anyone help me understand the same? Thanks in advance
Regards
Varun Mehta
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
imagination is more important than knowledge - albert...
2008 Jan 01
2
Ajax.Updater from within an IFrame
...hin onException:
Ajax is not defined
prototype.js
Line 1352
"Ajax.Responders.dispatch(''onException'', this, exception);"
And finally when I removed the onException part entirely:
Prototype is not defined
prototype.js
Line 1351
"(this.options.onException || Prototype.emptyFunction)(this,
exception);"
When I directly call an Ajax.Updater within the IFrame, without a
functional reference, I receive the third error. The update itself is
still working though.
Setting myID to only ''myUpdateID'' doesn''t work, it doesn''t update
anything at...
2006 Mar 22
3
document.write() in ajax response
Hi,
I am facing a problem and the description is as follows -
I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that has some html snippet & some javascript).
So far so good - things work fine.
However, if 2.html had any document.write code - eg document.write(''hello'') then once the response is received it will be rendered till the point
2006 Mar 28
1
Simple question about sortables...
Hi, I''m new to the prototype and scriptaculous (v1.5.1) libraries.
I''m creating a sortable list using the code below, and I''m finding that
while a list element is being dragged in IE, the element text is
transformed to appear bolder than the original. In Firefox, the text
becomes opaque.
Is there anyway to stop this from happening, ie don''t change any
2006 Feb 14
5
problem with sortable lists and IE
...tainer.success ? $(container.success) : $(container),
failure: container.failure ? $(container.failure) :
(container.success ? null : $(container))
}
this.transport = Ajax.getTransport();
this.setOptions(options);
var onComplete = this.options.onComplete || Prototype.emptyFunction;
this.options.onComplete = (function(transport, object) {
this.updateContent();
onComplete(transport, object);
}).bind(this);
this.request(url);
},
updateContent: function() {
var receiver = this.responseIsSuccess() ?
this.containers.success : this.containers...
2005 Sep 27
8
prototype.js
Hi *,
We don''t know if you guys are the right audience, but we got a problem
with prototype.js we need to solve.
Essentially, it is a compatibility bug with the IE.
We wrote a component so it updates itself periodically using AJAX. we used the
prototype.js to accomplish this (using the periodicalUpdater object).
now the component works fine using firefox or opera, but NOT with IE.
the
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...](nodeValue, matches[3]);
+ return nodeValue && Selector.operators[matches[2]](nodeValue, matches[5] || matches[6]);
}
},
@@ -3029,14 +3074,15 @@ Object.extend(Selector, {
// marks an array of nodes for counting
mark: function(nodes) {
+ var _true = Prototype.emptyFunction;
for (var i = 0, node; node = nodes[i]; i++)
- node._counted = true;
+ node._countedByPrototype = _true;
return nodes;
},
unmark: function(nodes) {
for (var i = 0, node; node = nodes[i]; i++)
- node._counted = undefined;
+ node._countedBy...
2005 Aug 18
8
Extending a js class
It''s been a few days since I posted my last two emails (of which, no one
replied to) so I''ve gone ahead and coded a working slider class as well
as a ''resizeable'' class that allows a user to drag and resize the
element. I also linked these two together as I want to have slider
behavior that can resize the resizeable element. The end result is both
the
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server