aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-18 15:23:15 -0700
committerJose Antonio Marquez2012-05-18 15:23:15 -0700
commitd878aa470074d5698a316512b513949fa22073f2 (patch)
tree826a7149a65b5160e1c6bf64d33aef2f126b1d00 /js/mediators
parent615ec16fb7e3f7da9f0718a26d8242682ab1f588 (diff)
downloadninja-d878aa470074d5698a316512b513949fa22073f2.tar.gz
Fixing save logic
Moved dirty marker clearing code to model.
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/io-mediator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index c506e186..ade27728 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -557,6 +557,7 @@ function loadWebGL (e) {\n\
557 mjslibtag = template.file.content.document.createElement('script'); 557 mjslibtag = template.file.content.document.createElement('script');
558 mjslibtag.setAttribute('type', 'text/javascript'); 558 mjslibtag.setAttribute('type', 'text/javascript');
559 mjslibtag.setAttribute('src', mjsDirName + '/montage/montage.js'); 559 mjslibtag.setAttribute('src', mjsDirName + '/montage/montage.js');
560 mjslibtag.setAttribute('data-package', '.');
560 mjslibtag.setAttribute('data-mjs-lib', 'true'); 561 mjslibtag.setAttribute('data-mjs-lib', 'true');
561 if (ninjaWrapper) { 562 if (ninjaWrapper) {
562 template.file.content.document.body.getElementsByTagName('ninja-content')[0].appendChild(mjslibtag); 563 template.file.content.document.body.getElementsByTagName('ninja-content')[0].appendChild(mjslibtag);