fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: tweaking some action descriptions
[fnpeditor.git]
/
src
/
fnpjs
/
layout.js
diff --git
a/src/fnpjs/layout.js
b/src/fnpjs/layout.js
index
c1d110e
..
68d4738
100644
(file)
--- a/
src/fnpjs/layout.js
+++ b/
src/fnpjs/layout.js
@@
-8,14
+8,16
@@
define(['libs/jquery', 'libs/underscore'], function($ ,_) {
this.dom.onShow = function() {
_.values(layout.views).forEach(function(view) {
this.dom.onShow = function() {
_.values(layout.views).forEach(function(view) {
- if(view.onShow)
+ if(view.onShow)
{
view.onShow();
view.onShow();
+ }
});
};
this.dom.onHide = function() {
_.values(layout.views).forEach(function(view) {
});
};
this.dom.onHide = function() {
_.values(layout.views).forEach(function(view) {
- if(view.onHide)
+ if(view.onHide)
{
view.onHide();
view.onHide();
+ }
});
};
});
};