From 0cca2fdf9bc0e77e1015975efdb9fe7c07a75b5f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 26 Jul 2010 07:57:49 -0700 Subject: Correct the name of the JSON member that contains the form data. --- lib/gallery.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gallery.dialog.js') 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") -- cgit v1.2.3