/*
 * File: app.js
 *
 * This file was generated by Sencha Architect version 3.0.2.
 * http://www.sencha.com/products/architect/
 *
 * This file requires use of the Ext JS 4.2.x library, under independent license.
 * License of Sencha Architect does not include license for Ext JS 4.2.x. For more
 * details see http://www.sencha.com/license or contact license@sencha.com.
 *
 * This file will be auto-generated each and everytime you save your project.
 *
 * Do NOT hand edit this file.
 */

// @require @packageOverrides
Ext.Loader.setConfig({
	enabled: true
});


Ext.application({
	models: [
		'SelectIdText',
		'area'
	],
	stores: [
		'SelectApproverStore',
		'Users',
		'AreaStore'
	],
	views: [
		'Main',
		'UploadWindow',
		'UploadLogWindow'
	],
	controllers: [
		'Approver',
		'UploadDownload'
	],
	name: 'MyApp',

	launch: function() {
		this.msgCt = Ext.DomHelper.insertFirst(document.body, {id:'msg-div'}, true);

		Ext.override(Ext.data.Connection, {
		    timeout: 90000
		});
		Ext.Ajax.timeout = 90000;
		Ext.override(Ext.data.proxy.Ajax, { timeout: 90000 });
		Ext.override(Ext.form.action.Action, { timeout: 90 });

		this.getStore('SelectApproverStore').load();
	}

});
