From 906bd9ef588a267c6221d3192031bd610cc96d29 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 3 Aug 2013 20:20:42 +0000 Subject: [PATCH] fix site dialog title localization --- static/js/siteDialog.0xdb.js | 4 ++-- static/js/siteDialog.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/siteDialog.0xdb.js b/static/js/siteDialog.0xdb.js index 1cbb25d0..041198d4 100644 --- a/static/js/siteDialog.0xdb.js +++ b/static/js/siteDialog.0xdb.js @@ -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({ diff --git a/static/js/siteDialog.js b/static/js/siteDialog.js index a6d97cf9..c74b65d9 100644 --- a/static/js/siteDialog.js +++ b/static/js/siteDialog.js @@ -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({