projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable page switching
[blerg.git]
/
www
/
jssrc
/
blerg
/
Main.js
diff --git
a/www/jssrc/blerg/Main.js
b/www/jssrc/blerg/Main.js
index
6fc7bb1
..
4c1fa27
100644
(file)
--- a/
www/jssrc/blerg/Main.js
+++ b/
www/jssrc/blerg/Main.js
@@
-4,7
+4,7
@@
enyo.kind({
classes: "blerg-main",
currentView: null,
updateView: function(objdef) {
classes: "blerg-main",
currentView: null,
updateView: function(objdef) {
- if (!this.currentView ||
this.currentView
.kind != this.currentView.kind) {
+ if (!this.currentView ||
objdef
.kind != this.currentView.kind) {
this.destroyComponents();
this.currentView = this.createComponent(objdef);
this.currentView.render();
this.destroyComponents();
this.currentView = this.createComponent(objdef);
this.currentView.render();