forked from 0x2620/pandora
allow for navigation between data fdialogs, fixes #376
This commit is contained in:
parent
ab0966c6aa
commit
a2ae4eb6cc
6 changed files with 20 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
|
@ -39,7 +39,8 @@ pandora.ui.statisticsDialog = function() {
|
|||
title: 'Manage Users...'
|
||||
}).bindEvent({
|
||||
click: function() {
|
||||
// ...
|
||||
$dialog.close();
|
||||
pandora.$ui.usersDialog = pandora.ui.usersDialog().open();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
|
@ -469,7 +469,8 @@ pandora.ui.usersDialog = function() {
|
|||
title: 'Statistics...'
|
||||
}).bindEvent({
|
||||
click: function() {
|
||||
// ...
|
||||
that.close();
|
||||
pandora.$ui.statisticsDialog = pandora.ui.statisticsDialog().open();
|
||||
}
|
||||
}),
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue