提交 fd30ad05 编写于 作者: U unknown

修复各种设计元素在浏览器模式打开的问题

上级 56307980
......@@ -28,8 +28,6 @@ MWF.xApplication.cms.DictionaryDesigner.Main = new Class({
this.application = this.status.application || this.status.applicationId;
this.options.id = this.status.id;
this.setOptions(this.status.options);
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......
......@@ -29,8 +29,6 @@ MWF.xApplication.query.ImporterDesigner.Main = new Class({
this.options.application = this.status.applicationId;
this.application = this.status.application;
this.options.id = this.status.id;
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......@@ -96,7 +94,7 @@ MWF.xApplication.query.ImporterDesigner.Main = new Class({
var options = {
"appId": "query.ImporterDesigner"+importer.id,
"id": importer.id,
"application": _self.application,
"application": _self.application.id,
"onQueryLoad": function(){
this.actions = _self.actions;
this.category = _self;
......
......@@ -235,6 +235,8 @@ MWF.xApplication.query.QueryManager.ImporterExplorer.Importer= new Class({
var _self = this;
var options = {
"appId": "query.ImporterDesigner"+_self.data.id,
"id": _self.data.id,
"application":_self.explorer.app.options.application.id,
"onQueryLoad": function(){
this.actions = _self.explorer.actions;
this.category = _self;
......
......@@ -30,8 +30,6 @@ MWF.xApplication.query.StatDesigner.Main = new Class({
this.options.application = this.status.applicationId;
this.application = this.status.application;
this.options.id = this.status.id;
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......
......@@ -29,8 +29,6 @@ MWF.xApplication.query.StatementDesigner.Main = new Class({
this.options.application = this.status.applicationId;
this.application = this.status.application;
this.options.id = this.status.id;
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......@@ -219,7 +217,7 @@ MWF.xApplication.query.StatementDesigner.Main = new Class({
var options = {
"appId": "query.StatementDesigner"+statement.id,
"id" : statement.id,
"application": _self.application,
"application": _self.application.id,
"onQueryLoad": function(){
this.actions = _self.actions;
this.category = _self;
......
......@@ -30,8 +30,6 @@ MWF.xApplication.query.TableDesigner.Main = new Class({
this.options.application = this.status.applicationId;
this.application = this.status.application;
this.options.id = this.status.id;
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......@@ -96,7 +94,7 @@ MWF.xApplication.query.TableDesigner.Main = new Class({
var options = {
"appId": "query.TableDesigner"+table.id,
"id": table.id,
"application": _self.application,
"application": _self.application.id,
"onQueryLoad": function(){
this.actions = _self.actions;
this.category = _self;
......
......@@ -28,8 +28,6 @@ MWF.xApplication.query.ViewDesigner.Main = new Class({
this.options.application = this.status.applicationId;
this.application = this.status.application;
this.options.id = this.status.id;
}else{
if( !this.application && this.options.application )this.application = this.options.application;
}
if (!this.options.id){
......@@ -362,7 +360,7 @@ MWF.xApplication.query.ViewDesigner.Main = new Class({
var options = {
"appId": "query.ViewDesigner"+view.id,
"id": view.id,
"application": _self.application,
"application": _self.application.id,
"onQueryLoad": function(){
this.actions = _self.actions;
this.category = _self;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册