summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-07-05 08:58:36 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-07-05 08:58:36 -0700
commit226d1f714635995722fe7927f8ec049fe3890011 (patch)
treec7eeaf00e78b87411d75dbe997dc3dd10658b265 /lib
parent8493a3d36f597e183490ae880b35a3d98f50a045 (diff)
Revert "If the admin request originates as a dialog link, don't display the entire page when reauthenticating the administrator. Just put the form in the dialog."
This reverts commit 8493a3d36f597e183490ae880b35a3d98f50a045.
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.dialog.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index dd1a5663..6ec8c634 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -26,8 +26,7 @@
$("#g-dialog").gallery_show_loading();
- var url = sHref + (sHref.indexOf("?") == -1 ? "?" : "&") + "g-in-dialog";
- $.get(url, function(data) {
+ $.get(sHref, function(data) {
$("#g-dialog").html(data).gallery_show_loading();
if ($("#g-dialog form").length) {