diff --git a/html/js/scripts.js b/html/js/scripts.js
index d90c435a7..993fd97e7 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1097,6 +1097,7 @@ function search_operation(obj)
);
} catch (e)
{
+ remove_waiting_box();
alert(e.message);
}
}