allow for navigation between data fdialogs, fixes #376

This commit is contained in:
rolux 2012-03-23 09:02:55 +00:00
parent ab0966c6aa
commit a2ae4eb6cc
6 changed files with 20 additions and 6 deletions

View file

@ -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();
}
}),
{},

View file

@ -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();
}
}),
{},

View file

@ -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();
}
}),
{},

View file

@ -39,7 +39,8 @@ pandora.ui.statisticsDialog = function() {
title: 'Manage Users...'
}).bindEvent({
click: function() {
// ...
$dialog.close();
pandora.$ui.usersDialog = pandora.ui.usersDialog().open();
}
}),
{},

View file

@ -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();
}
}),
{},

View file

@ -469,7 +469,8 @@ pandora.ui.usersDialog = function() {
title: 'Statistics...'
}).bindEvent({
click: function() {
// ...
that.close();
pandora.$ui.statisticsDialog = pandora.ui.statisticsDialog().open();
}
}),
{},