anchor.diff:      ajaxManager.run();
   
   
  -    $(".field-save").click(function(e){ 
  +    $("#permissions_save").click(runSave);
  +    $(".field-save").click(runSave);
  +
  +    function runSave(e){     
         e.preventDefault();
         var button = $(this);
         var form = $(button.parent().parent()[0]);
  
positive.code:        <div class="row">
            <%= f.submit "Save changes", :class=>'btn btn-primary', :id=>'permissions_save' %>
            <a class="accordion-toggle btn" data-toggle="collapse" data-parent="#row_permissions" href="#collapse_permissions">Cancel </a>
         </div>
       <% end %>
     </div>
  
negative.code:                 if( requests.length ) {
                      oriSuc = requests[0].complete;
      
                      // combine data from multiple requests
                      if (requests.length > 1) {
                         data = deserialize(requests[0].data);
                         form = [requests[0].form]
                         for (var i=requests.length-1; i>0 ; i--){
                            req = requests.pop();
                            adata = deserialize(req.data);
                            for (key in  Object.keys(adata)){ 
                               curKey =   Object.keys(adata)[key] ;                      
                               if (curKey.slice(0,12) == "generic_file"){
                                  data[curKey] = adata[curKey];
                                  form.push (req.form);
                               }
                            }
                         } 
                         requests[0].data = $.param(data);
                         requests[0].form = form;
                      }    
      
                      requests[0].complete = function() {
                           if( typeof oriSuc === 'function' ) oriSuc();
                           if (typeof requests[0].form === 'object'){
                              for (f in form) {
                                 form_id = form[f];
                                 after_ajax(form_id);
                              }
                           }
                           requests.shift();
                           self.run.apply(self, []);
                      };   
  