Sha256: 28c717e37161a05d01bacbf974ec01727867e156d4833f450b6981c1f19f76e8
Contents?: true
Size: 500 Bytes
Versions: 6
Compression:
Stored size: 500 Bytes
Contents
$(document).ready(function() { if (page.controller() == 'roles' && (page.action() == 'new' || page.action() == 'edit' || page.action() == 'create' || page.action() == 'update')) { $('form').validate() $('#role_name').rules('add',{ messages: { remote: 'This role name already exists' }, remote: { url: $('#role_name').data('validation-path'), type: 'get' } }) $('.j-multiselectable').multiSelect(window.quicksearchConfig.init) } })
Version data entries
6 entries across 6 versions & 1 rubygems