1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.BuilderViewCode = {
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',
34 show : function (_self)
36 if (_this.isBuilder) {
40 _this.dialog.getLayout().beginUpdate();
42 _this.dialog.resizeTo( Roo.lib.Dom.getViewWidth() - 70, Roo.lib.Dom.getViewHeight() - 70);
43 _this.dialog.getLayout().getRegion('center').resizeTo(Roo.lib.Dom.getViewWidth() - ( 70 + 50 ));
46 _this.dialog.moveTo(35,35);
48 _this.dialog.getLayout().endUpdate();
50 _this.previewContentPanel.load({
51 url: baseURL + '/Builder/Code.php',
67 title : "View Generated Code",
71 xtype: 'ContentPanel',
77 activate : function (_self)
79 _this.previewContentPanel = _self;
86 xtype: 'LayoutRegion',