Skip to content

Commit 13d3064

Browse files
committed
PB-366: Templates Lower Level Test Coverage
- Remove setTitle fix
1 parent 70972df commit 13d3064

File tree

1 file changed

+0
-15
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/js/modal

1 file changed

+0
-15
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/modal/modal.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,6 @@ define([
3131
return this;
3232
},
3333

34-
/**
35-
* Set the title only for the current modal
36-
*
37-
* @param {String} title
38-
*/
39-
setTitle: function (title) {
40-
if (this.title !== title) {
41-
this.title = title;
42-
}
43-
44-
if (this.modal) {
45-
this.modal.parents('[role="dialog"]').find($(this.modal).modal('option').modalTitle).text(title);
46-
}
47-
},
48-
4934
/**
5035
* Listen for from save.
5136
*

0 commit comments

Comments
 (0)