fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix in transformations
[fnpeditor.git]
/
fnpjs
/
layout.js
diff --git
a/fnpjs/layout.js
b/fnpjs/layout.js
index
99b2e58
..
5fe61cc
100644
(file)
--- a/
fnpjs/layout.js
+++ b/
fnpjs/layout.js
@@
-12,6
+12,12
@@
define(['libs/jquery-1.9.1.min', 'libs/underscore-min'], function($ ,_) {
view.onShow();
\r
});
\r
};
\r
+ this.dom.onHide = function() {
\r
+ _.values(layout.views).forEach(function(view) {
\r
+ if(view.onHide)
\r
+ view.onHide();
\r
+ });
\r
+ };
\r
\r
};
\r
\r