diff --git a/static/js/pandora/eventsDialog.js b/static/js/pandora/eventsDialog.js index d82f9b26..35cc3d21 100644 --- a/static/js/pandora/eventsDialog.js +++ b/static/js/pandora/eventsDialog.js @@ -13,7 +13,10 @@ pandora.ui.eventsDialog = function(options) { title: 'Manage Places...' }).bindEvent({ click: function() { - // ... + that.close(); + (pandora.$ui.placesDialog || ( + pandora.$ui.placesDialog = pandora.ui.placesDialog() + )).open(); } }), {}, diff --git a/static/js/pandora/namesDialog.js b/static/js/pandora/namesDialog.js index e891ce60..7fc8d3c3 100644 --- a/static/js/pandora/namesDialog.js +++ b/static/js/pandora/namesDialog.js @@ -125,7 +125,10 @@ pandora.ui.namesDialog = function() { title: 'Manage Titles...' }).bindEvent({ click: function() { - // ... + that.close(); + (pandora.$ui.titlesDialog || ( + pandora.$ui.titlesDialog = pandora.ui.titlesDialog() + )).open(); } }), {}, diff --git a/static/js/pandora/placesDialog.js b/static/js/pandora/placesDialog.js index 9ddb561c..93875aab 100644 --- a/static/js/pandora/placesDialog.js +++ b/static/js/pandora/placesDialog.js @@ -74,7 +74,10 @@ pandora.ui.placesDialog = function(options) { title: 'Manage Events...' }).bindEvent({ click: function() { - // ... + that.close(); + (pandora.$ui.eventsDialog || ( + pandora.$ui.eventsDialog = pandora.ui.eventsDialog() + )).open(); } }), {}, diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index f14c556d..7dd4f36b 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -39,7 +39,8 @@ pandora.ui.statisticsDialog = function() { title: 'Manage Users...' }).bindEvent({ click: function() { - // ... + $dialog.close(); + pandora.$ui.usersDialog = pandora.ui.usersDialog().open(); } }), {}, diff --git a/static/js/pandora/titlesDialog.js b/static/js/pandora/titlesDialog.js index 44239506..e0661ab9 100644 --- a/static/js/pandora/titlesDialog.js +++ b/static/js/pandora/titlesDialog.js @@ -114,7 +114,10 @@ pandora.ui.titlesDialog = function() { title: 'Manage Names...' }).bindEvent({ click: function() { - // ... + that.close(); + (pandora.$ui.namesDialog || ( + pandora.$ui.namesDialog = pandora.ui.namesDialog() + )).open(); } }), {}, diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index a966da49..2a620c4c 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -469,7 +469,8 @@ pandora.ui.usersDialog = function() { title: 'Statistics...' }).bindEvent({ click: function() { - // ... + that.close(); + pandora.$ui.statisticsDialog = pandora.ui.statisticsDialog().open(); } }), {},