Fix confilict ID in filemanager file dialog. Additionally, add "Cancel button to superuser authentication form"

This commit is contained in:
Hadi Nategh 2014-07-31 17:43:33 +00:00
parent f6e5b61327
commit 3f2eddc0c7

View File

@ -276,7 +276,7 @@
<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"/>
</hbox>
<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"/>
<buttononly align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudouser" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" background_image="1"/>
</hbox>
</row>
<row>
@ -298,7 +298,11 @@
</row>
<row>
<description/>
<hbox>
<button label="Submit" id="button[setup]"/>
<buttononly label="Cancel" onclick="jQuery('.superuser').hide();"/>
</hbox>
</row>
</rows>
</grid>