-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.js
More file actions
43 lines (30 loc) · 738 Bytes
/
view.js
File metadata and controls
43 lines (30 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
define(['AbstractView'], function (AbstractView) {
return _.inherit(AbstractView, {
propertys: function ($super) {
$super();
},
_initHead: function () {
this.$('header').append($('<i class="returnico i_bef"></i>'));
//this.$('header').append($('<i class="icon_home i_bef"></i>'));
},
events: {
'click .returnico': function () {
this.back();
}
// ,
// 'click .icon_home': function () {
// this.back('index');
// }
},
initialize: function ($super, app, id) {
$super(app, id);
this._initHead();
},
onPreShow: function ($super) {
$super();
},
show: function ($super) {
$super();
}
});
});