Ignore:
Timestamp:
Sep 4, 2008, 2:57:55 AM (16 years ago)
Author:
rvelices
Message:
  • remove hello_world plugin (not working anymore)
  • web service method images.add works only for admins now
  • fix template-common js web service calls did not have the parameters url encoded
  • improve admin user_list - submitting the form with no user selected triggers a javascript alert (had fun with jquery selectors)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/yoga/admin/user_list.tpl

    r2426 r2496  
    308308
    309309</form>
     310
     311<script type="text/javascript">// <![CDATA[
     312{literal}jQuery("form:last").submit( function() {
     313        if ( jQuery("input[name=target][value=selection]:checked", this).length > 0 )
     314        if ( jQuery("input[name=selection]:checked", this).length == 0)
     315        {
     316                alert( {/literal}"{'Select at least one user'|@translate|escape:javascript}"{literal} );
     317                return false;
     318        }
     319        return true;
     320}
     321);{/literal}
     322// ]]>
     323</script>
     324 
Note: See TracChangeset for help on using the changeset viewer.