BladeRunnerJS / brjs

BladeRunnerJS (BRJS) is an open source development toolkit and framework for modular construction of large single-page HTML5 apps. It consists of a set of conventions, supporting tools and micro-libraries that make it easy to develop, test, deploy and maintain complex JavaScript apps.
http://bladerunnerjs.org/
GNU Lesser General Public License v3.0
229 stars 36 forks source link

Can only use one instance of the Knockout View Model viewer at a time #1135

Open thecapdan opened 9 years ago

thecapdan commented 9 years ago

See below:

https://github.com/BladeRunnerJS/brjs/issues/1135 image

The initial theory is that JsTree relies on globals, so the second time we try to construct a tree it fails.

ioanalianabalas commented 9 years ago

Since #1196 is a duplicate of this, I am reposting the additional comments here:

When adding multiple blades for test in the BladesetWorkbench, the associated Knockout View Model will only be displayed for the first one. For the second blade, the panel will show but it will be empty.

If I try finding the associated view model with the 'find' button in the second blade, it will display the correct information, but it will remove all the content of the other Knockout View Model panel.

Basically, as it stands, we can only show information in one Knockout View Model at a time.

This is dependent on #1238 so I will postpone it until that one is fixed.