Skip to content

Commit

Permalink
Update database. Some fixes for videowall screens
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsito committed Sep 27, 2021
1 parent 3d06379 commit 793cce1
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 64 deletions.
Binary file added agility/images/logos/el_area_jerez.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agility/images/logos/es_cantell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions agility/scripts/common.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,8 @@ function setupWorkingData(prueba,jornada,manga,callback) {
}
}).always(function() {
// obtenemos datos de la manga
if (manga<=0) {
$.messager.alert('<?php _e("Error"); ?>', "No round information", "error");
if (manga<=1) { // round:1 means not initialized yet; do not call server
if(manga<=0) $.messager.alert('<?php _e("Error"); ?>', "No round id provided", "error");
setManga(null);
return false;
}
Expand Down
3 changes: 2 additions & 1 deletion agility/scripts/datagrid_formatters.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@ function formatVwTeamClasificaciones(value,rows) { return formatTeamClasificacio
// repaint datagrid saving options, and load with empty data
// WARNING !! DO NOT USE AS RESULT OF "OnLoadSuccess" (infinite loop)
function resetDatagrid(dg,data) {
if ( dg.length ==0) return; // to avoid try to reset undefined jquery objects
if (typeof(dg==="undefined") || (dg===null)) return; // do nothing when non existent datagrid yet (i.e: init)
if ( dg.length===0) return; // to avoid try to reset undefined jquery objects
if (typeof(data)==="undefined") data={"total":0,"rows":[]};
var opts=dg.datagrid('options');
setTimeout(function(){
Expand Down
Loading

0 comments on commit 793cce1

Please sign in to comment.