mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
- bug 865: Unable to manage users (I thought I tested this jquery functionality; apparently not so out it goes)
git-svn-id: http://piwigo.org/svn/trunk@2559 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -311,17 +311,3 @@
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">// <![CDATA[
|
||||
{literal}jQuery("form:last").submit( function() {
|
||||
if ( jQuery("input[name=target][value=selection]:checked", this).length > 0 )
|
||||
if ( jQuery("input[name=selection]:checked", this).length == 0)
|
||||
{
|
||||
alert( {/literal}"{'Select at least one user'|@translate|escape:javascript}"{literal} );
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
);{/literal}
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user