1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.CoreAutoSavePreview = {
10 show : function(data, cb)
18 this.dialog.show(this.data._el);
21 this.form.setValues(data);
22 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
30 this.dialog = Roo.factory({
31 xtype: 'LayoutDialog',
39 title : "Saved Version",
46 activate : function() {
49 _this.grid.footer.onClick('first');
62 autoExpandColumn : 'filename',
68 //_this.dialog = Pman.Dialog.FILL_IN
69 if (_this.panel.active) {
70 this.footer.onClick('first');
73 rowdblclick : function (_self, rowIndex, e)
75 if (!_this.dialog) return;
76 _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
77 _this.grid.footer.onClick('first');
85 sortInfo : { field : 'filename', direction: 'ASC' },
90 url : baseURL + '/Roo/Images.php'
97 totalProperty : 'total',
104 'name': 'event_when',
111 xtype: 'PagingToolbar',
114 emptyMsg : "No Images found",
119 xtype: 'ColumnModel',
121 dataIndex : 'event_when',
124 renderer : function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }
130 xtype: 'ContentPanel',
133 render : function (_self)
135 _this.viewPanel = _self;
145 xtype: 'LayoutRegion',
149 xtype: 'LayoutRegion',