Skip to content

Commit 06bb53d

Browse files
merge magento/2.2-develop into magento-tsg-csl3/2.2-develop-pr10
2 parents ea434c7 + da0b4f1 commit 06bb53d

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)