fix site dialog title localization

This commit is contained in:
rolux 2013-08-03 20:20:42 +00:00
parent 14e5ed820f
commit 906bd9ef58
2 changed files with 4 additions and 4 deletions

View file

@ -135,7 +135,7 @@ pandora.ui.siteDialog = function(section) {
.bindEvent({
change: function(data) {
that.options({
title: Ox._(Ox.getObjectById(tabs, data.selected).title)
title: Ox.getObjectById(tabs, data.selected).title
});
pandora.UI.set({page: data.selected});
}
@ -159,7 +159,7 @@ pandora.ui.siteDialog = function(section) {
minHeight: 256,
minWidth: 688, // 16 + 256 + 16 + 384 + 16
removeOnClose: true,
title: Ox._(Ox.getObjectById(tabs, section).title),
title: Ox.getObjectById(tabs, section).title,
width: dialogWidth
})
.bindEvent({

View file

@ -103,7 +103,7 @@ pandora.ui.siteDialog = function(section) {
.bindEvent({
change: function(data) {
that.options({
title: Ox._(Ox.getObjectById(tabs, data.selected).title)
title: Ox.getObjectById(tabs, data.selected).title
});
pandora.UI.set({page: data.selected});
}
@ -127,7 +127,7 @@ pandora.ui.siteDialog = function(section) {
minHeight: 256,
minWidth: 688, // 16 + 256 + 16 + 384 + 16
removeOnClose: true,
title: Ox._(Ox.getObjectById(tabs, section).title),
title: Ox.getObjectById(tabs, section).title,
width: dialogWidth
})
.bindEvent({