Use the same layout mechanism used as in the panel using elementary

layout support in different dialogs. Fixes #1358.
This commit is contained in:
Ashesh Vashi
2016-06-20 12:46:30 +05:30
parent f1dd39e5e9
commit 3350eaceab
9 changed files with 96 additions and 74 deletions

View File

@@ -26,7 +26,7 @@ define([
' <span class="<%=Backform.helpMessageClassName%>"><%=helpMessage%></span>',
'<% } %>'
].join("\n")),
className: 'pgadmin-control-group form-group col-xs-6'
className: 'pgadmin-control-group form-group pg-el-xs-4'
});
//Restore Model (Objects like Database/Schema/Table)
@@ -305,6 +305,9 @@ define([
this.setting('pg_item', item);
this.setting('pg_item_data', data);
},
build: function() {
alertify.pgDialogBuild.apply(this)
},
setup:function() {
return {
buttons: [{