summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/jscripts
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2016-03-04 09:40:58 +0000
committeririna <irinagomez@us.es>2016-03-04 09:40:58 +0000
commit81177454d3b6b42ab25cc8cb11cb4aadd2de2ca3 (patch)
tree3677061b82040c55be1bfef95e9e69c1c956a8df /admin/WebConsole/jscripts
parent044d30615f009ca93a6b9a0ad21b016b3689ac27 (diff)
#712 En el formulario aƱadir ordenador si existen duplicados el nombre, la ip o la mac no se inserta el equipo en la base de datos.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4814 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/jscripts')
-rw-r--r--admin/WebConsole/jscripts/comunes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/jscripts/comunes.js b/admin/WebConsole/jscripts/comunes.js
index 5a87c0c2..f11bedd5 100644
--- a/admin/WebConsole/jscripts/comunes.js
+++ b/admin/WebConsole/jscripts/comunes.js
@@ -175,6 +175,7 @@ function insertar(l,t,w,h,pages,swi,idu){
function resultado_insertar(resul,descrierror,nwid,tablanodo){
if (!resul){
alert(descrierror);
+ return;
}
InsertaNodo(currentNodo,tablanodo);
alert(CTbMsg[4]);