Commit 4f3b3cac authored by Xiaowu Zhang's avatar Xiaowu Zhang

add condition to create httpstorage

parent 8890ea05
......@@ -122,7 +122,9 @@
if (value !== undefined) {
ipValue = value;
ip_context.value = value;
return gadget.plCreateHttpStorage(value);
if (options.action) {
return gadget.plCreateHttpStorage(value);
}
}
})
.push(function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment