fix site dialog title localization
This commit is contained in:
parent
14e5ed820f
commit
906bd9ef58
2 changed files with 4 additions and 4 deletions
|
@ -135,7 +135,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
that.options({
|
that.options({
|
||||||
title: Ox._(Ox.getObjectById(tabs, data.selected).title)
|
title: Ox.getObjectById(tabs, data.selected).title
|
||||||
});
|
});
|
||||||
pandora.UI.set({page: data.selected});
|
pandora.UI.set({page: data.selected});
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 688, // 16 + 256 + 16 + 384 + 16
|
minWidth: 688, // 16 + 256 + 16 + 384 + 16
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
title: Ox._(Ox.getObjectById(tabs, section).title),
|
title: Ox.getObjectById(tabs, section).title,
|
||||||
width: dialogWidth
|
width: dialogWidth
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
|
@ -103,7 +103,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
that.options({
|
that.options({
|
||||||
title: Ox._(Ox.getObjectById(tabs, data.selected).title)
|
title: Ox.getObjectById(tabs, data.selected).title
|
||||||
});
|
});
|
||||||
pandora.UI.set({page: data.selected});
|
pandora.UI.set({page: data.selected});
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 688, // 16 + 256 + 16 + 384 + 16
|
minWidth: 688, // 16 + 256 + 16 + 384 + 16
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
title: Ox._(Ox.getObjectById(tabs, section).title),
|
title: Ox.getObjectById(tabs, section).title,
|
||||||
width: dialogWidth
|
width: dialogWidth
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
Loading…
Reference in a new issue