display existing tags in the prompt in drive

This commit is contained in:
yflory 2017-12-19 10:16:53 +01:00
parent 38e28ebc9a
commit 09433e0bf0
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/efine([ define([
'jquery', 'jquery',
'/customize/messages.js', '/customize/messages.js',
'/common/common-util.js', '/common/common-util.js',

View File

@ -278,8 +278,8 @@ define([
cb(); cb();
}); });
}; };
common.getPadAttribute = function (attr, cb) { common.getPadAttribute = function (attr, cb, href) {
var href = Hash.getRelativeHref(window.location.href); href = Hash.getRelativeHref(href || window.location.href);
postMessage("GET_PAD_ATTRIBUTE", { postMessage("GET_PAD_ATTRIBUTE", {
href: href, href: href,
attr: attr, attr: attr,