Merge branch 'master' of github.com:Sankore/Sankore-3.1

preferencesAboutTextFull
Isa Kindov 13 years ago
commit 8aea75c99d
  1. 6
      resources/library/interactive/Graphme.wgt/Grapheur.xhtml

@ -103,15 +103,15 @@
$("#zoomDefaut").val(sankore.preference("defaultZoom", "4")); $("#zoomDefaut").val(sankore.preference("defaultZoom", "4"));
reinitialiserZoom($("#zoomDefaut").val()); reinitialiserZoom($("#zoomDefaut").val());
if(sankore.preference("showGrid","0") == 1) if(sankore.preference("showGrid","1") == 1)
$("#checkGrille").attr("checked", "checked"); $("#checkGrille").attr("checked", "checked");
else else
$("#checkGrille").removeAttr('checked'); $("#checkGrille").removeAttr('checked');
if(sankore.preference("showAxis","0") == 1) if(sankore.preference("showAxis","1") == 1)
$("#checkAxes").attr("checked", "checked"); $("#checkAxes").attr("checked", "checked");
else else
$("#checkAxes").removeAttr('checked'); $("#checkAxes").removeAttr('checked');
if(sankore.preference("showScale","0") == 1) if(sankore.preference("showScale","1") == 1)
$("#checkEchelle").attr("checked", "checked"); $("#checkEchelle").attr("checked", "checked");
else else
$("#checkEchelle").removeAttr('checked'); $("#checkEchelle").removeAttr('checked');

Loading…
Cancel
Save