I have a window class
In my controller, from everything I've read, this should display my component:
It does nothing. if I un-comment the show(), it gives an error "cannot call method substring of undefined"
Code:
Ext.define('PurchaseOrder.view.AddPOWindow', { extend: 'Ext.window.Window', alias: 'widget.purchaseorderaddpowindow', ...
Code:
fnNewPo: function() { //Open the add window var newAddWindow = Ext.widget('purchaseorderaddpowindow'); //newAddWindow.show(); },
Comment