freenetis-github/application/views/js/variable_symbols_add.php @ 18ac9009
31ca0a32 | Michal Kliment | <?php
|
|
/**
|
|||
* Variable symbols - adding.
|
|||
*
|
|||
* @author Ondřej Fibich
|
|||
*/
|
|||
// IDE complementation
|
|||
if (FALSE): ?><script type="text/javascript"><?php endif
|
|||
?>
|
|||
// on enable of VS generation, disable VS field
|
|||
$('#variable_symbol_generate', context).change(function ()
|
|||
{
|
|||
if ($(this).is(':checked'))
|
|||
$('#variable_symbol', context).attr('disabled', true);
|
|||
else
|
|||
$('#variable_symbol', context).removeAttr('disabled');
|
|||
}).trigger('change');
|
|||