Commit e7e81a1c by Csók Tamás

function layout modifications

parent dd735e00
...@@ -382,6 +382,13 @@ $(function () { ...@@ -382,6 +382,13 @@ $(function () {
$('.notification-messages').load("/dashboard/notifications/"); $('.notification-messages').load("/dashboard/notifications/");
$('#notification-button a span[class*="badge-pulse"]').remove(); $('#notification-button a span[class*="badge-pulse"]').remove();
}); });
/* on the client confirmation button fire the clientInstalledAction */
$(document).on("click", "#client-check-button", function(event) {
var connectUri = $('#connect-uri').val();
clientInstalledAction(connectUri);
return false;
});
}); });
function generateVmHTML(pk, name, host, icon, _status, fav, is_last) { function generateVmHTML(pk, name, host, icon, _status, fav, is_last) {
...@@ -594,13 +601,6 @@ function clientInstalledAction(location) { ...@@ -594,13 +601,6 @@ function clientInstalledAction(location) {
$('#confirmation-modal').modal("hide"); $('#confirmation-modal').modal("hide");
} }
$(function() {
$(document).on("click", "#client-check-button", function(event) {
var connectUri = $('#connect-uri').val();
clientInstalledAction(connectUri);
return false;
});
});
// for AJAX calls // for AJAX calls
/** /**
* Getter for user cookies * Getter for user cookies
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment