Revision 2385c471
b/ui/static/snf/js/ui/web/ui_create_view.js | ||
---|---|---|
53 | 53 |
}, |
54 | 54 |
|
55 | 55 |
onOpen: function() { |
56 |
this.copy.show(); |
|
56 | 57 |
try { |
57 | 58 |
this.clipboard.setText(this.pass); |
58 | 59 |
this.copy.show(); |
59 | 60 |
} catch (err) { |
61 |
console.error(err); |
|
60 | 62 |
this.copy.hide(); |
61 | 63 |
} |
62 | 64 |
}, |
Also available in: Unified diff