added progressbar on validate
authorunknown <p1@.(none)>
Wed, 13 May 2009 23:43:33 +0000 (01:43 +0200)
committerunknown <p1@.(none)>
Wed, 13 May 2009 23:43:33 +0000 (01:43 +0200)
web/php/page/createplant.pg

index db528de..d5ee719 100644 (file)
                ,icon: 'img/icons/accept.png'
                ,cls: 'x-btn-text-icon'
                ,handler: function() { 
+                       communication.waitForPage();
                        var pdEditor = Ext.getCmp("plantdefinitioneditor");
                        if (pdEditor) {
                                var code = pdEditor.getValue();
                                editor.CheckSyntax({data:{Code:code}}, function(data) {
                                        var pdEditor = Ext.getCmp("plantdefinitioneditor");
                                        if (pdEditor) {
-                                               //TODO: mark error in code
-                                               
+                                               communication.stopWaitingForPage();
                                                Ext.MessageBox.show({
                                                        title:'Fehler'
                                                        ,msg: data.msg