[svn r20286] FS#4087 - Documents tool, slide show options: Additional minor fix for initialization of enabled/disabled state of "width" and "height" form's fields.

skala
Ivan Tcholakov 16 years ago
parent a23ef26fbe
commit b8e9a16fa0
  1. 4
      main/document/slideshowoptions.php

@ -1,4 +1,4 @@
<?php // $Id: slideshowoptions.php 20259 2009-05-03 23:03:40Z ivantcholakov $
<?php // $Id: slideshowoptions.php 20286 2009-05-04 17:00:51Z ivantcholakov $
/*
==============================================================================
Dokeos - elearning and course management software
@ -130,6 +130,8 @@ function disableresizing() { //v2.0
document.options.height.className='disabled_input';
}
window.onload = <?php echo $_SESSION['image_resizing'] == 'resizing' ? 'enableresizing' : 'disableresizing'; ?>;
//-->
</script>

Loading…
Cancel
Save