]> git.proxmox.com Git - extjs.git/blob - extjs/examples/modern/stockapp/app.js
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / modern / stockapp / app.js
1 Ext.application({
2 name: 'StockApp',
3
4 requires: [
5 'Ext.MessageBox'
6 ],
7
8 stores: [
9 'Apple',
10 'Google'
11 ],
12
13 mainView:'StockApp.view.Main',
14
15 onUpdated: function () {
16 Ext.Msg.confirm(
17 "Application Update",
18 "This application has just successfully been updated to the latest version. Reload now?",
19 function (buttonId) {
20 if (buttonId === 'yes') {
21 window.location.reload();
22 }
23 }
24 );
25 }
26 });