Commit d906f18792d5f92a32b5a03d313c5f6115a45f9a
1 parent
02e89fbe
Exists in
master
and in
101 other branches
rm_6903
Showing
1 changed file
with
3 additions
and
5 deletions
Show diff stats
js/app/views/CatalogUI.js
... | ... | @@ -119,7 +119,7 @@ Ext.define('amdaUI.CatalogUI', { |
119 | 119 | generateTT : function(){ |
120 | 120 | console.log(this); |
121 | 121 | if(this.fclose()){ |
122 | - Ext.Msg.confirm('Generate TT', 'Current Catalog has been modified.\nDo you want to include these changes in the generated Time Table ?' , | |
122 | + Ext.Msg.confirm('Generate TT', 'Current Catalog has been modified.\nDo you want to save it to include these changes in the generated Time Table ?' , | |
123 | 123 | function (btn, text){ |
124 | 124 | if (btn == 'yes'){ |
125 | 125 | // mark this.closed as true before the call to close() as that will fire the beforeclose event again |
... | ... | @@ -135,9 +135,7 @@ Ext.define('amdaUI.CatalogUI', { |
135 | 135 | } |
136 | 136 | }, this); |
137 | 137 | |
138 | - }else{ | |
139 | - this.createTT(this.object.get('id')); | |
140 | - } | |
138 | + } | |
141 | 139 | }, |
142 | 140 | createTT : function(catId){ |
143 | 141 | var catObj = Ext.create('amdaModel.TimeTable'); |
... | ... | @@ -816,7 +814,7 @@ Ext.define('amdaUI.CatalogUI', { |
816 | 814 | |
817 | 815 | var me = this; |
818 | 816 | |
819 | - Ext.Msg.prompt('Define Parameters', 'Please enter parameters number:', function(btn, text){ | |
817 | + Ext.Msg.prompt('Create catalog', 'Enter the number of columns:', function(btn, text){ | |
820 | 818 | if (btn == 'ok'){ |
821 | 819 | module.createLinkedNode(); |
822 | 820 | module.createObject(); |
... | ... |