Permalink
Browse files

MINOR Fixed js accessor (thanks AngryPHPNerd)

  • Loading branch information...
1 parent 5911abc commit af4cf3ccc458b772dbdb3ac56c5948244ca14891 @chillu chillu committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/InlineFormAction.js
@@ -4,7 +4,7 @@
Behaviour.register({
'div.inlineformaction input#$ID': {
onclick: function() {
- var url = jQuery('base').attr('href') + 'admin-custom/' + this.name.substring(7) + '?ID=' + jQuery('#Form_EditForm_ID').value + '&ajax=1';
+ var url = jQuery('base').attr('href') + 'admin-custom/' + this.name.substring(7) + '?ID=' + document.getElementById('Form_EditForm_ID').value + '&ajax=1';
jQuery.ajax({
'url': url,

0 comments on commit af4cf3c

Please sign in to comment.