aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/template/goto/user_list.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/template/goto/user_list.tpl b/admin/template/goto/user_list.tpl
index c26e5dbbf..aa4e369dc 100644
--- a/admin/template/goto/user_list.tpl
+++ b/admin/template/goto/user_list.tpl
@@ -314,3 +314,17 @@
</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>
+