Hi,
I was trying to call the quick view function, on a button click, from another detail view.
var viewName = 'views/modals/detail';
this.createView('quickView',viewName,
{
scope: 'Test',
id: this.model.get("testId"),
removeDisabled: false,
}, function (view)
{
view.render();
view.notify(false);
}, this);
Which gives an error: Uncaught TypeError: Cannot read property 'name' of undefined
What change should I do to make it working?
Thanks in advance.
I was trying to call the quick view function, on a button click, from another detail view.
var viewName = 'views/modals/detail';
this.createView('quickView',viewName,
{
scope: 'Test',
id: this.model.get("testId"),
removeDisabled: false,
}, function (view)
{
view.render();
view.notify(false);
}, this);
Which gives an error: Uncaught TypeError: Cannot read property 'name' of undefined
What change should I do to make it working?
Thanks in advance.
Comment