Revision 9cc27975
b/ui/static/snf/js/ui/web/ui_main_view.js | ||
---|---|---|
31 | 31 |
|
32 | 32 |
cont.html(""); |
33 | 33 |
cont.text(token); |
34 |
|
|
35 |
this.cont = cont; |
|
36 |
this.token = token; |
|
37 |
try { delete this.clip; } catch (err) {}; |
|
38 |
}, |
|
34 | 39 |
|
35 |
var clip = new snf.util.ClipHelper();
|
|
36 |
cont.parent().append(clip.cont);
|
|
37 |
clip.setText(token);
|
|
40 |
onOpen: function() {
|
|
41 |
views.ApiInfoView.__super__.onOpen(this, arguments);
|
|
42 |
this.clip = new snf.util.ClipHelper(this.cont.parent(), this.token);
|
|
38 | 43 |
}, |
39 | 44 |
|
40 | 45 |
onClose: function() { |
Also available in: Unified diff