after render fix
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
<div id="main" tabindex="-1">{{{main}}}</div>
|
||||
</div>
|
||||
<footer id="footer">{{{footer}}}</footer>
|
||||
<div class="collapsed-modal-bar"></div>
|
||||
|
||||
@@ -199,8 +199,6 @@ class RecordModalHelper {
|
||||
const barView = this.modalBarProvider.get();
|
||||
|
||||
const foundModalView = barView.getModalViewList().find(view => {
|
||||
console.log(view);
|
||||
|
||||
return view instanceof EditModalView &&
|
||||
view.id === id && view.entityType === entityType;
|
||||
});
|
||||
|
||||
@@ -1155,7 +1155,7 @@ class ModalView extends View {
|
||||
return;
|
||||
}
|
||||
|
||||
barView.addModalView(this, {title: title});
|
||||
await barView.addModalView(this, {title: title});
|
||||
}
|
||||
|
||||
unchainFromParent() {
|
||||
|
||||
@@ -80,9 +80,9 @@ class MasterSiteView extends View {
|
||||
this.adjustContent();
|
||||
});
|
||||
|
||||
this.collapsedModalBarView = new CollapsedModalBarView({fullSelector: 'body > .collapsed-modal-bar'});
|
||||
this.collapsedModalBarView = new CollapsedModalBarView();
|
||||
|
||||
this.assignView('collapsedModalBar', this.collapsedModalBarView);
|
||||
this.assignView('collapsedModalBar', this.collapsedModalBarView, '> .collapsed-modal-bar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Generated
+5
-5
@@ -19,7 +19,7 @@
|
||||
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
|
||||
"bootstrap-colorpicker": "^2.5.2",
|
||||
"bootstrap-datepicker": "^1.9.0",
|
||||
"bullbone": "github:espocrm/bullbone#1.3.2",
|
||||
"bullbone": "github:espocrm/bullbone#1.3.3",
|
||||
"cronstrue": "^1.114.0",
|
||||
"cropper": "^0.7.9",
|
||||
"devbridge-autocomplete": "^1.4.11",
|
||||
@@ -2561,8 +2561,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/bullbone": {
|
||||
"version": "1.3.2",
|
||||
"resolved": "git+ssh://git@github.com/espocrm/bullbone.git#4c050fefefa5cab042ac1dce8d3c11f544e5ae5a"
|
||||
"version": "1.3.3",
|
||||
"resolved": "git+ssh://git@github.com/espocrm/bullbone.git#6f36d050687cac7f23a90fe9134be02657778fea"
|
||||
},
|
||||
"node_modules/bytes": {
|
||||
"version": "3.1.2",
|
||||
@@ -9189,8 +9189,8 @@
|
||||
"dev": true
|
||||
},
|
||||
"bullbone": {
|
||||
"version": "git+ssh://git@github.com/espocrm/bullbone.git#4c050fefefa5cab042ac1dce8d3c11f544e5ae5a",
|
||||
"from": "bullbone@github:espocrm/bullbone#1.3.2"
|
||||
"version": "git+ssh://git@github.com/espocrm/bullbone.git#6f36d050687cac7f23a90fe9134be02657778fea",
|
||||
"from": "bullbone@github:espocrm/bullbone#1.3.3"
|
||||
},
|
||||
"bytes": {
|
||||
"version": "3.1.2",
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@
|
||||
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
|
||||
"bootstrap-colorpicker": "^2.5.2",
|
||||
"bootstrap-datepicker": "^1.9.0",
|
||||
"bullbone": "github:espocrm/bullbone#1.3.2",
|
||||
"bullbone": "github:espocrm/bullbone#1.3.3",
|
||||
"cronstrue": "^1.114.0",
|
||||
"cropper": "^0.7.9",
|
||||
"devbridge-autocomplete": "^1.4.11",
|
||||
|
||||
Reference in New Issue
Block a user