diff options
author | jhilden <jakobhilden@gmail.com> | 2009-08-29 19:12:57 -0400 |
---|---|---|
committer | jhilden <jakobhilden@gmail.com> | 2009-08-29 19:12:57 -0400 |
commit | ed9be096535dfbac4d62e0cc74f416a71f67648d (patch) | |
tree | 3301809705b4418b97673d8f006332111b42fa5f /lib | |
parent | 39559fdfd09491dce669d0351768fe2b13ccdd03 (diff) | |
parent | 0aceba6f48e5542d3edfbb1f195af50187adbac4 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gallery.dialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index d1ea3edf..67f3f02d 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -109,13 +109,13 @@ if (data.form) { $("#gDialog form").replaceWith(data.form); self._ajaxify_dialog(); - self._trigger("form_loaded", null, $("#gDialog form")); + self.form_loaded(null, $("#gDialog form")); if (typeof data.reset == 'function') { eval(data.reset + '()'); } } if (data.result == "success") { - if (data.location) { + if (data.location) { window.location = data.location; } else { window.location.reload(); |