Skip to content

Commit

Permalink
MODX3 support (dont break in MODX2)
Browse files Browse the repository at this point in the history
Replaceв missing in MODX3 variable for its hardcoded value
  • Loading branch information
dimasites authored Mar 30, 2022
1 parent bf2b969 commit 32ca633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/assets/components/ckeditor/modx.htmleditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function getOption(key, type, defaultValue) {

function getFileBrowseUrl() {
var url = MODx.config['manager_url'] + 'index.php';
var query = {a: MODx.action['browser'], source: MODx.config['default_media_source']};
var query = {a: 'browser', source: MODx.config['default_media_source']};
return url + '?' + Ext.urlEncode(query);
}

Expand Down Expand Up @@ -447,4 +447,4 @@ MODx.unloadTVRTE = function() {
});
};

})();
})();

0 comments on commit 32ca633

Please sign in to comment.