g13013
11 Mar 2012, 5:12 AM
Hi guys,
In the last build of desinger their is a bug with basic functions defined under the main application definition :
-> New project
-> Add a basic function to the Application
-> Add somme lines of code
After saving the first time the code generated in the application is preceeded by a new line, and each time we try to save, the designer adds a line on every custom function but won't save changes to the disc until we remove all files except the project file (of course when open to not loose changes). here are the project and the code generated in designer.js file.
Ext.application({
name: 'MyApp',
launch: function() {
// Some action !
console.log('launch -Application');
},
someFunction: function(param1, param2) {
console.log();
}
});
32603
In the last build of desinger their is a bug with basic functions defined under the main application definition :
-> New project
-> Add a basic function to the Application
-> Add somme lines of code
After saving the first time the code generated in the application is preceeded by a new line, and each time we try to save, the designer adds a line on every custom function but won't save changes to the disc until we remove all files except the project file (of course when open to not loose changes). here are the project and the code generated in designer.js file.
Ext.application({
name: 'MyApp',
launch: function() {
// Some action !
console.log('launch -Application');
},
someFunction: function(param1, param2) {
console.log();
}
});
32603