]> ruin.nu Git - ndwebbie.git/blobdiff - root/static/js/raid.js
Give an error message when an ajax action isn't allowed
[ndwebbie.git] / root / static / js / raid.js
index 89a06b6c05c6bfd9f7354f83a62ab2ae7011df13..a2dbc2cdc77781346ad3e41b5264a231a147db68 100644 (file)
@@ -57,6 +57,9 @@ function parseUpdate(xml){
        if ($('targetlist',xml).text()){
                $('#targets').empty().html($('targetlist',xml).text());
        }
+       if ($('noaccess',xml).text()){
+               alert($('noaccess',xml).text());
+       }
 }