Side navigation
Ticket #1954: button-val-jquery.patch
File button-val-jquery.patch, 0.4 KB (added by jollytoad, November 25, 2008 12:06PM UTC)
Patch against rev 5949
Index: core.js
===================================================================
--- core.js (revision 5949)
+++ core.js (working copy)
@@ -391,6 +391,9 @@
return values;
}
+
+ if ( jQuery.browser.msie && jQuery.nodeName( elem, 'button' ) )
+ return elem.getAttributeNode('value').value;
// Everything else, we just grab the value
return (elem.value || "").replace(/\r/g, "");
Download in other formats:
Original Format
File button-val-jquery.patch, 0.4 KB (added by jollytoad, November 25, 2008 12:06PM UTC)
Patch against rev 5949
Index: core.js
===================================================================
--- core.js (revision 5949)
+++ core.js (working copy)
@@ -391,6 +391,9 @@
return values;
}
+
+ if ( jQuery.browser.msie && jQuery.nodeName( elem, 'button' ) )
+ return elem.getAttributeNode('value').value;
// Everything else, we just grab the value
return (elem.value || "").replace(/\r/g, "");