Skip to content

Commit da0b4f1

Browse files
authored
Merge pull request #3452 from magento-mpi/mpi-fix-94235
[MPI]-fix-94235
2 parents e6fee77 + 2c6d6af commit da0b4f1

File tree

1 file changed

+3
-1
lines changed
  • lib/web/mage/adminhtml/wysiwyg/tiny_mce

1 file changed

+3
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,9 @@ define([
408408
* @param {String} directive
409409
*/
410410
makeDirectiveUrl: function (directive) {
411-
return this.config['directives_url'].replace('directive', 'directive/___directive/' + directive);
411+
var directivesUrl = this.config['directives_url'].split('?')[0];
412+
413+
return directivesUrl.replace('directive', 'directive/___directive/' + directive);
412414
},
413415

414416
/**

0 commit comments

Comments
 (0)