25 lines
530 B
JavaScript

Ext.BLANK_IMAGE_URL = '../../TruckMng/Content/Images/s.gif';
var panelEdit = null;
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
panelEdit = Ext.create('Shipping.MsOpRailwayEdit', {
layout: 'border',
region: 'center' });
var view = new Ext.Viewport({
layout: 'border',
renderTo: 'viewport',
border: false,
items: [
panelEdit
]
});
});
function getSaved() {
return panelEdit.getIsModify();
}