Commit 37eb715335fe25af89b6499c87a2e144abe093a9
1 parent
de5d1909
Exists in
master
and in
110 other branches
window move.. temporary
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
js/app/AmdaApp.js
@@ -602,14 +602,14 @@ Ext.define('amdaApp.AmdaApp', { | @@ -602,14 +602,14 @@ Ext.define('amdaApp.AmdaApp', { | ||
602 | 602 | ||
603 | if (isMigration) { // isSpecialInfo | 603 | if (isMigration) { // isSpecialInfo |
604 | myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.info.id, true, function(module) { | 604 | myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.info.id, true, function(module) { |
605 | - module.createWindow(isSpecialInfo, 'Welcome on AMDA', true); | 605 | + module.createWindow(isSpecialInfo, 'Welcome to AMDA', true); |
606 | if ( isOldWS ) { | 606 | if ( isOldWS ) { |
607 | var win = myDesktopApp.getDesktop().getWindow(myDesktopApp.dynamicModules.info.id); | 607 | var win = myDesktopApp.getDesktop().getWindow(myDesktopApp.dynamicModules.info.id); |
608 | win.on({ | 608 | win.on({ |
609 | show : function() { | 609 | show : function() { |
610 | Ext.Msg.show({ | 610 | Ext.Msg.show({ |
611 | - title:'Welcome on new AMDA', | ||
612 | - msg: 'It is your first visit on the new version of AMDA.<br/>'+ | 611 | + title:'Welcome to new AMDA', |
612 | + msg: 'It is your first visit to the new version of AMDA.<br/>'+ | ||
613 | 'Do you want to copy here your workspace from the old AMDA ?', | 613 | 'Do you want to copy here your workspace from the old AMDA ?', |
614 | buttons: Ext.Msg.YESNO, | 614 | buttons: Ext.Msg.YESNO, |
615 | icon: Ext.Msg.QUESTION, | 615 | icon: Ext.Msg.QUESTION, |
@@ -633,6 +633,7 @@ Ext.define('amdaApp.AmdaApp', { | @@ -633,6 +633,7 @@ Ext.define('amdaApp.AmdaApp', { | ||
633 | }); | 633 | }); |
634 | }, | 634 | }, |
635 | scope : this }); | 635 | scope : this }); |
636 | + win.setPosition(0,0,true); | ||
636 | } | 637 | } |
637 | }) | 638 | }) |
638 | } | 639 | } |