Sha256: 4a71523b28b92583f0750a804a60996c669a663d8ccae54223a7d40e9acaf3b8
Contents?: true
Size: 499 Bytes
Versions: 25
Compression:
Stored size: 499 Bytes
Contents
SocialStream.Permission = (function(SS, $, undefined) { var initForm = function(formId) { $('.edit_relation_custom', formId).on('change', function() { $('#permissions').find('.loading').show(); $.rails.handleRemote($(this)); $(this).find('input').prop('disabled', true); }); }; var enableForm = function(divId) { $(divId).find('input').prop('disabled', false); }; return { initForm: initForm, enableForm: enableForm }; })(SocialStream, jQuery);
Version data entries
25 entries across 25 versions & 2 rubygems