Revision 06bea1ee
b/ui/static/snf/js/ui/web/ui_icon_view.js | ||
---|---|---|
38 | 38 |
this.vm.bind("action:fail", _.bind(function(args){ |
39 | 39 |
if (this.vm.action_error) { |
40 | 40 |
this.has_error = true; |
41 |
action = args[0].ajax.error_params.extra_details['Action']; |
|
41 |
var action = "undefined"; |
|
42 |
try { |
|
43 |
action = args[0].ajax.error_params.extra_details['Action']; |
|
44 |
} catch (err) {console.log(err)}; |
|
45 |
|
|
42 | 46 |
this.error.find(".action").text(action); |
43 | 47 |
this.error.show(); |
44 | 48 |
} |
... | ... | |
307 | 311 |
|
308 | 312 |
case "mouseup": |
309 | 313 |
logo.addClass('single-image-state4'); |
310 |
machine_connect([machine_connect, this.vm.id]);
|
|
314 |
this.view.connect_overlay.show(this.vm);
|
|
311 | 315 |
break; |
312 | 316 |
|
313 | 317 |
case "mousedown": |
Also available in: Unified diff