diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-26 07:57:49 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-07-31 15:44:56 -0700 |
commit | 0cca2fdf9bc0e77e1015975efdb9fe7c07a75b5f (patch) | |
tree | 00e0c046af75ed6a3e18157323cd61a96cd0442c | |
parent | 09dfe1a91b3e663917fe53516148fe5d74c099fa (diff) |
Correct the name of the JSON member that contains the form data.
-rw-r--r-- | lib/gallery.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index 7b9d4b94..f47c6d56 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -131,7 +131,7 @@ }, success: function(data) { if (data.form) { - var formData = unescape(data.content); + var formData = unescape(data.form); $("#g-dialog form").replaceWith(formData); $("#g-dialog").dialog("option", "position", "center"); $("#g-dialog form :submit").removeClass("ui-state-disabled") |