VCL-1138 - make PHP code compatible with PHP 8

privileges.js: modified moveNodeCB: handle status response of invalidreload
diff --git a/web/js/privileges.js b/web/js/privileges.js
index d9403a9..b15e0bc 100644
--- a/web/js/privileges.js
+++ b/web/js/privileges.js
@@ -712,7 +712,12 @@
 	moveitem.moveid = data.items.moveid;
 	moveitem.oldparentid = data.items.oldparentid;
 	moveitem.newparentid = data.items.newparentid;
-	if(data.items.status == 'invaliddata') {
+	if(data.items.status == 'invalidreload') {
+		alert('Error: invalid data submitted');
+		window.location.reload();
+		return;
+	}
+	else if(data.items.status == 'invaliddata') {
 		alert('Error: invalid data submitted');
 		revertNodeMove();
 		return;