Fix thumbnails in sframe apps

This commit is contained in:
yflory
2017-10-09 11:52:34 +02:00
parent 888028c542
commit aa744567ed
4 changed files with 34 additions and 16 deletions

View File

@@ -489,8 +489,8 @@ define([
};
// STORAGE
common.setPadAttribute = function (attr, value, cb) {
var href = getRelativeHref(window.location.href);
common.setPadAttribute = function (attr, value, cb, href) {
href = getRelativeHref(href || window.location.href);
getStore().setPadAttribute(href, attr, value, cb);
};
common.setDisplayName = function (value, cb) {