Merge pull request #3630 from FinnStutzenstein/fix-deselection

Fixed delection of logos and fonts. Closes #3606
This commit is contained in:
Norman Jäckel 2018-03-05 20:42:13 +01:00 committed by GitHub
commit ec0094827d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -839,7 +839,7 @@ angular.module('OpenSlidesApp.core', [
set: function (key, path) { set: function (key, path) {
var config = Config.get(key); var config = Config.get(key);
if (config) { if (config) {
config.value.path = path;// ? mediafile.mediafileUrl : ''; config.value.path = path || '';
Config.save(key); Config.save(key);
} }
}, },
@ -894,7 +894,7 @@ angular.module('OpenSlidesApp.core', [
set: function (key, path) { set: function (key, path) {
var config = Config.get(key); var config = Config.get(key);
if (config) { if (config) {
config.value.path = path; config.value.path = path || '';
Config.save(key); Config.save(key);
} }
}, },