fix javascript error "PHP to JS compiler error, Variable $j is not defined"

This commit is contained in:
Ralf Becker 2014-02-13 18:06:44 +00:00
parent c00e79af78
commit c7c7c09dec

View File

@ -276,7 +276,7 @@
<button label="Apply" id="button[apply]" image="apply" background_image="1"/> <button label="Apply" id="button[apply]" image="apply" background_image="1"/>
<buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/> <buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
</hbox> </hbox>
<buttononly align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudo" onclick="\$j('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" background_image="1"/> <buttononly align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudo" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" background_image="1"/>
</hbox> </hbox>
</row> </row>
<row> <row>