summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/jscripts
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-11-08 12:32:49 +0000
committerramon <ramongomez@us.es>2012-11-08 12:32:49 +0000
commit9583e59fd431d5a12e29e4ddcf6d72b45009a838 (patch)
tree9e8de4d24dac3977eb8048932ba564bc58f14ca0 /admin/WebConsole/comandos/jscripts
parentdf440ce7a78ba6bbe51008980d39c105147d2f56 (diff)
Versión 1.0.5, #524: Integrar código del ticket:524, eliminar imagen de caché.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3401 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts')
-rw-r--r--admin/WebConsole/comandos/jscripts/EliminarImagenCache.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js b/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js
new file mode 100644
index 00000000..e8af1325
--- /dev/null
+++ b/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js
@@ -0,0 +1,44 @@
+// *************************************************************************************************************************************************
+// Libreria de scripts de Javascript
+// Nombre del fichero: EliminarImagenCache.js
+// Descripción :
+// Este fichero implementa las funciones javascript del fichero IniciarSesion.php (Comandos)
+// *************************************************************************************************************************************************
+function confirmar(){
+ if (comprobar_datos()){
+ // Compone atributos del comando
+ tb_conf=document.getElementById("tabla_conf");
+ var ochecks=tb_conf.getElementsByTagName('INPUT')
+ var atributos;
+ for(var i=0;i<ochecks.length;i++){
+ if(ochecks[i].checked){
+ atributos=ochecks[i].value
+ }
+ }
+ var RC='@';
+ document.fdatosejecucion.atributos.value="scp="+atributos+RC;
+ document.fdatosejecucion.submit();
+ }
+ }
+//________________________________________________________________________________________________________
+ function cancelar()
+{
+ alert(CTbMsg[0]);
+ location.href="../nada.php"
+ }
+//________________________________________________________________________________________________________
+ function comprobar_datos()
+{
+ tb_conf=document.getElementById("tabla_conf");
+ var ochecks=tb_conf.getElementsByTagName('INPUT')
+ var op=0
+ for(var i=0;i<ochecks.length;i++){
+ if(ochecks[i].checked) op++;
+ }
+ if(op==0){
+ alert(TbMsg[1])
+ return(false);
+ }
+ return(comprobar_datosejecucion())
+}
+