Closed indykish closed 11 years ago
Let us say the rails app has a link as below:
I use the latest version of bootstrap-editable-rails gem.
<%= link_to "howdy1","#", :id => "identity_new_account_name", :class => "s_account_name" %>
I load the javascript with the following code.
// init editables jQuery('.s_account_name').editable({}); jQuery('#identity_new_account_name').editable('option', 'validate', function(v) { if (!v) return 'Required field!'; }); jQuery('#identity_new_account_name').editable('option', 'send', 'never'); jQuery('#identity_new_account_name').editable('option', 'savenochange', 'never');
Thank you.
.editable('option', 'send', 'never') is not supported yet. send option is ignored.
.editable('option', 'send', 'never')
send
I want to fix in the next version.
Let us say the rails app has a link as below:
I use the latest version of bootstrap-editable-rails gem.
I load the javascript with the following code.