update
This commit is contained in:
@@ -4,7 +4,7 @@ PAGES.avisos = {
|
||||
AccessControl: true,
|
||||
Title: "Avisos",
|
||||
edit: function (mid) {
|
||||
if (!checkRole("avisos:edit")) {setUrlHash("index");return}
|
||||
if (!checkRole("avisos:edit")) {setUrlHash("avisos");return}
|
||||
var nameh1 = safeuuid();
|
||||
var field_fecha = safeuuid();
|
||||
var field_asunto = safeuuid();
|
||||
|
||||
@@ -4,7 +4,7 @@ PAGES.comedor = {
|
||||
AccessControl: true,
|
||||
Title: "Menú comedor",
|
||||
edit: function (mid) {
|
||||
if (!checkRole("comedor:edit")) {setUrlHash("index");return}
|
||||
if (!checkRole("comedor:edit")) {setUrlHash("comedor");return}
|
||||
var nameh1 = safeuuid();
|
||||
var field_fecha = safeuuid();
|
||||
var field_platos = safeuuid();
|
||||
|
||||
@@ -4,7 +4,7 @@ PAGES.materiales = {
|
||||
AccessControl: true,
|
||||
Title: "Materiales",
|
||||
edit: function (mid) {
|
||||
if (!checkRole("materiales:edit")) {setUrlHash("index");return}
|
||||
if (!checkRole("materiales:edit")) {setUrlHash("materiales");return}
|
||||
var nameh1 = safeuuid();
|
||||
var field_nombre = safeuuid();
|
||||
var field_cantidad = safeuuid();
|
||||
|
||||
@@ -4,7 +4,7 @@ PAGES.personas = {
|
||||
AccessControl: true,
|
||||
Title: "Personas",
|
||||
edit: function (mid) {
|
||||
if (!checkRole("personas:edit")) {setUrlHash("index");return}
|
||||
if (!checkRole("personas:edit")) {setUrlHash("personas");return}
|
||||
var nameh1 = safeuuid();
|
||||
var permisosdet = safeuuid();
|
||||
var field_nombre = safeuuid();
|
||||
|
||||
@@ -4,7 +4,7 @@ PAGES.supercafe = {
|
||||
AccessControl: true,
|
||||
Title: "SuperCafé",
|
||||
edit: function (mid) {
|
||||
if (!checkRole("supercafe:edit")) {setUrlHash("index");return}
|
||||
if (!checkRole("supercafe:edit")) {setUrlHash("supercafe");return}
|
||||
var nameh1 = safeuuid();
|
||||
var field_fecha = safeuuid();
|
||||
var field_persona = safeuuid();
|
||||
|
||||
Reference in New Issue
Block a user