startService removed from fieldset

parent ade785fd
......@@ -151,23 +151,6 @@
}
return result;
});
})
.declareMethod('startService', function () {
console.log("startservice FIElDSET 2");
var gadget = this,
i,
promise_list = [];
console.log(gadget.props.field_gadget_list.length);
for (i = 0; gadget.props.field_gadget_list.length; i += 1) {
console.log(gadget.props.field_gadget_list[i]);
if (gadget.props.field_gadget_list[i].startService) {
promise_list.push(gadget.props.field_gadget_list[i].startService());
}
}
console.log("startservice FIELDSET 2");
console.log(promise_list.length);
return RSVP.all(promise_list);
});
}(window, rJS, RSVP, Handlebars, initGadgetMixin));
......@@ -680,24 +680,9 @@
node_id)]);
})
.push(function (fieldset_gadget) {
console.log(fieldset_gadget[0]);
return RSVP.Queue()
.push(function () {
console.log(fieldset_gadget[0]);
fieldset_gadget[0].startService();
})
.push(function () {
console.log(":::::::::::::::::::");
console.log(":::::::::::::::::::");
console.log(":::::::::::::::::::");
console.log(fieldset_gadget);
console.log(":::::::::::::::::::");
console.log(":::::::::::::::::::");
console.log(":::::::::::::::::::");
node_edit_popup.enhanceWithin();
node_edit_popup.popup('open');
return fieldset_gadget[0];
});
node_edit_popup.enhanceWithin();
node_edit_popup.popup('open');
return fieldset_gadget[0];
})
.push(function (fieldset_gadget) {
// Expose the dialog handling promise so that we can wait for it in
......@@ -706,7 +691,6 @@
console.log(":::::::::::::::::::2");
console.log(":::::::::::::::::::2");
console.log(fieldset_gadget);
// gadget.props.field_gadget_list.push(field_gadget_list);
console.log(":::::::::::::::::::2");
console.log(":::::::::::::::::::2");
console.log(":::::::::::::::::::2");
......
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