Fix autostore not displaying the error message when over pin limit

This commit is contained in:
yflory
2018-09-17 11:23:35 +02:00
parent c1ef8243a1
commit 179df27e3c
6 changed files with 15 additions and 7 deletions

View File

@@ -345,6 +345,9 @@ define([
};
common.getPadAttribute = function (attr, cb, href) {
href = Hash.getRelativeHref(href || window.location.href);
if (!href) {
return void cb('E404');
}
postMessage("GET_PAD_ATTRIBUTE", {
href: href,
attr: attr,