X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fstatic%2Fjs%2Fmyslice-ui.js;h=4d06895eea3e930d6b5fdf96e1c7ebadef512788;hb=91435d3c4b910dc6f5d53af66ad323fbf109b640;hp=060269a85a7a6235a6356f00b800c3d5546eca9e;hpb=b7681efa4f6a31fb872aee29a958e073bceba5ab;p=myslice.git diff --git a/portal/static/js/myslice-ui.js b/portal/static/js/myslice-ui.js index 060269a8..4d06895e 100644 --- a/portal/static/js/myslice-ui.js +++ b/portal/static/js/myslice-ui.js @@ -7,7 +7,7 @@ function mysliceAlert(msg, level) { var el = $('#myslice-message'); el.find('.message').text(msg); el.addClass('alert-' + level); - el.fadeIn('fast'); + el.parent().fadeIn('fast'); }; /* Table initialisation */ $(document).ready(function() { @@ -17,7 +17,6 @@ $(document).ready(function() { - $("#objectList").load("/table/resource/", {"fields" : ["hostname","hrn","country","type"], "options": ["checkbox"] }, function(data) { $(this).dataTable( { "sScrollY": window.innerHeight - 275,