diff --git a/jsonform.gadget.js b/jsonform.gadget.js index c59b08c218c080792f7a793da794d924d45b6718..4199d351a9f61e7c7685b326a7d9c16ac1dce94b 100644 --- a/jsonform.gadget.js +++ b/jsonform.gadget.js @@ -1,5 +1,5 @@ /*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) { "use strict"; @@ -1009,7 +1009,7 @@ if (opt.scope) { queue .push(function () { - return g.props.form_gadget.getDeclaredGadget(opt.scope); + return g.getSubGadget(opt.scope); }) .push(function (ret) { gadget = ret;