"use strict";
define(['text!templates/system/navView.html'],
	function(templateData){
	return openbiz.View.extend({		
		app: 'cubi',
		name: 'navView',
		el:'#wrapper div#nav',
		initialize:function(){		
			openbiz.View.prototype.initialize.call(this); 				
	        this.template = _.template(templateData);
    	},
		render:function(){			
			this.locale.me = openbiz.session.me.toJSON();			
	        $(this.el).html(this.template(this.locale));	 	        
	        openbiz.ui.update($(this.el));
	        $(this.el).fadeIn();
	        return this;
	    }
	});	
})
@@ -334,16 +334,36 @@
 n()%7B%09%09%09%0A
+%09%09%09var self = this;%0A
 %09%09%09this.
@@ -470,16 +470,25 @@
         
+%09        
 %0A%09      
@@ -489,16 +489,56 @@
         
+$(this.el).fadeIn(function()%7B%0A%09        %09
 openbiz.
@@ -553,18 +553,19 @@
 e($(
-this
+self
 .el));
+%09
 %0A%09  
@@ -570,34 +570,17 @@
         
-$(this.el).fadeIn(
+%7D
 );%0A%09    

update ui and app