Sha256: 290c0fc20a6f23eaf4f85ffec6b8fada30d5a60965a2a1d7756a9a4ed36f584f
Contents?: true
Size: 985 Bytes
Versions: 6
Compression:
Stored size: 985 Bytes
Contents
$(document).ready(function() { if (page.controller() == 'controller_actions' && (page.action() == 'new') || (page.action() == 'edit' || page.action() == 'create' || page.action() == 'update')) { $('form').validate() $('#controller_action_controller').rules('add',{ messages: { remote: 'This controller name does not exist' }, remote: { url: $('#controller_action_controller').data('validation-path'), type: 'get' } }) $('#controller_action_action').rules('add',{ messages: { remote: 'This action name does not exist for this controller' }, remote: { url: $('#controller_action_action').data('validation-path'), type: 'get', data: { controller_name: function(){ return $('#controller_action_controller').val() } } } }) $('#controller_action_business_process_ids').multiSelect(window.quicksearchConfig.init) } })
Version data entries
6 entries across 6 versions & 1 rubygems