From: David G. <svn...@pl...> - 2011-01-26 22:37:07
|
Author: davisagli Date: Wed Jan 26 22:03:36 2011 New Revision: 231167 Modified: collective.megaphone/trunk/src/collective/megaphone/skins/megaphone/wizard.js Log: update saved order via ajax after drag Modified: collective.megaphone/trunk/src/collective/megaphone/skins/megaphone/wizard.js ============================================================================== --- collective.megaphone/trunk/src/collective/megaphone/skins/megaphone/wizard.js (original) +++ collective.megaphone/trunk/src/collective/megaphone/skins/megaphone/wizard.js Wed Jan 26 22:03:36 2011 @@ -87,6 +87,7 @@ else this.className = 'even'; }); + $.post($('form[action$=editMegaphoneAction]').attr('action'), $('form[action$=editMegaphoneAction]').serialize() + '&crud-edit.formfields.buttons.edit=Save+order'); } }); |