MINOR Fixed js accessor (thanks AngryPHPNerd)

This commit is contained in:
Ingo Schommer 2012-02-16 23:07:24 +01:00
parent 5911abc0f6
commit af4cf3ccc4

View File

@ -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,