"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tapestry-core/src/main/generated/compiled-processed-coffeescript/org/apache/tapestry5/t5-core-dom-prototype.js" between
apache-tapestry-5.7.1-sources.zip and apache-tapestry-5.7.2-sources.zip

About: Apache Tapestry is a framework for creating dynamic, robust, highly scalable web applications in Java. Source code.

t5-core-dom-prototype.js  (apache-tapestry-5.7.1-sources):t5-core-dom-prototype.js  (apache-tapestry-5.7.2-sources)
skipping to change at line 281 skipping to change at line 281
if ((eventName.indexOf(':')) > 0) { if ((eventName.indexOf(':')) > 0) {
event = this.element.fire(eventName, memo); event = this.element.fire(eventName, memo);
return !event.defaultPrevented; return !event.defaultPrevented;
} }
if (memo) { if (memo) {
throw new Error("Memo must be null when triggering a native event"); throw new Error("Memo must be null when triggering a native event");
} }
if (!(Prototype.Browser.WebKit && eventName === 'submit' && this.element instanceof HTMLFormElement)) { if (!(Prototype.Browser.WebKit && eventName === 'submit' && this.element instanceof HTMLFormElement)) {
return fireNativeEvent(this.element, eventName); return fireNativeEvent(this.element, eventName);
} else { } else {
return this.element.submit(); return this.element.requestSubmit();
} }
}; };
ElementWrapper.prototype.value = function(newValue) { ElementWrapper.prototype.value = function(newValue) {
var current; var current;
current = this.element.getValue(); current = this.element.getValue();
if (arguments.length > 0) { if (arguments.length > 0) {
this.element.setValue(newValue); this.element.setValue(newValue);
} }
return current; return current;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)