Skip to content

Commit

Permalink
hotfix - 2.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
psolom committed Mar 11, 2018
1 parent 5b94d6b commit 812265d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 2.7.3
---------------------------
- hotfix


Version 2.7.2
---------------------------
- added optional connector "options.capabilities" in the initiate action #272
Expand Down
2 changes: 1 addition & 1 deletion config/filemanager.config.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,5 @@
"extra_js_async": true
},
"url": "https://github.com/servocoder/RichFilemanager",
"version": "2.7.2"
"version": "2.7.3"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rich-filemanager",
"version": "2.7.2",
"version": "2.7.3",
"description": "Highly customizable open-source file manager",
"main": "scripts/filemanager.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/js/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ $.richFilemanagerPlugin = function(element, pluginOptions)

// Overrides client-side capabilities list to improve the compatibility for connectors.
// If a connector doesn't support a new feature, the plugin will mask this feature to avoid error.
if (serverConfig.options.capabilities) {
if (serverConfig.options && serverConfig.options.capabilities) {
config.options.capabilities = serverConfig.options.capabilities;
}
}
Expand All @@ -316,7 +316,7 @@ $.richFilemanagerPlugin = function(element, pluginOptions)
};

// localize messages based on configuration or URL value
var localize = function() {
var localize = function() {capabilities
langModel = new LangModel();

return $.ajax()
Expand Down
6 changes: 3 additions & 3 deletions src/js/filemanager.min.js

Large diffs are not rendered by default.

0 comments on commit 812265d

Please sign in to comment.