Skip to content

Commit 3b6c90b

Browse files
committed
Merge branch '2.2-develop' of https://github.com/magento/magento2ce into PR_15_11_2018
2 parents f56c993 + da0b4f1 commit 3b6c90b

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)