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

add condition to create httpstorage

parent 8890ea05
...@@ -122,8 +122,10 @@ ...@@ -122,8 +122,10 @@
if (value !== undefined) { if (value !== undefined) {
ipValue = value; ipValue = value;
ip_context.value = value; ip_context.value = value;
if (options.action) {
return gadget.plCreateHttpStorage(value); return gadget.plCreateHttpStorage(value);
} }
}
}) })
.push(function () { .push(function () {
return RSVP.any([ return RSVP.any([
......
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