mysliceMessage() js function can be used to display a message
[myslice.git] / portal / static / js / myslice-ui.js
index 060269a..4d06895 100644 (file)
@@ -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,