diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-26 07:57:49 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-26 07:57:49 -0700 |
commit | c2100d1d2d7d4a5570ed454f5de078d6595de768 (patch) | |
tree | bb9b20a91b64f2f7288ed7d42104cfa773fd5bb1 | |
parent | 75a181f8903e10ec4f3e2e8e4ee0a937124062e1 (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") |