Commit d94a71f6 authored by Boris Kocherov's avatar Boris Kocherov

fix subgadget computation in rerender

parent c0ed3eb1
/*jslint nomen: true, maxlen: 200, indent: 2, maxerr: 100*/ /*jslint nomen: true, maxlen: 200, indent: 2, maxerr: 100*/
/*global window, document, URL, rJS, RSVP, jIO, Blob */ /*global window, document, URL, rJS, RSVP, jIO, Blob, console*/
(function (window, document, Blob, rJS, RSVP, jIO) { (function (window, document, Blob, rJS, RSVP, jIO) {
"use strict"; "use strict";
...@@ -1009,7 +1009,7 @@ ...@@ -1009,7 +1009,7 @@
if (opt.scope) { if (opt.scope) {
queue queue
.push(function () { .push(function () {
return g.props.form_gadget.getDeclaredGadget(opt.scope); return g.getSubGadget(opt.scope);
}) })
.push(function (ret) { .push(function (ret) {
gadget = ret; gadget = ret;
......
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