Moving the messages used in common utilities in a separate javascript.

This commit is contained in:
Ashesh Vashi
2016-04-11 17:05:49 +05:30
parent d53ab31eb8
commit e07ebdc049
7 changed files with 58 additions and 31 deletions

View File

@@ -57,9 +57,9 @@ function(_, $, pgBrowser) {
}
this.timeout = setTimeout(
function() {
var sql = '-- Please select an object in the tree view.';
var sql = '';
if (node) {
sql = '-- No SQL could be generated for the selected object.';
sql = pgBrowser.messages.NODE_HAS_NO_SQL;
if (node.hasSQL) {
sql = '';