title: how to add different texts to save button in edit and add forms in jqgrid
body: <p>Different texts for edit and add form for Save button are specified using bSubmit.
  If edit form is opened and closed, add form is opened and closed and edit form is opened again, edit form button caption becomes "Add row".
  How to fix this so that edit form save button text is "Save edits" always ? </p>
  
  <p>I tried </p>
  
  <pre><code>bSubmit: function() { return "Save edits" },
  </code></pre>
  
  <p>put this prints function() ... in button.</p>
  
  <pre><code>grid.navGrid("#grid_toppager", { refreshstate: 'current' }, 
            { url: 'Edit',
                  editData: { _dokdata: FormData },
                  savekey: [true, 13],
                  closeOnEscape: true,
                  bSubmit: "Save edits",
                  reloadAfterSubmit: false
              },
  
         { url: 'Add',
             bSubmit: "Add row",
             editData: { _dokdata: FormData },
             savekey: [true, 13],
             recreateForm: true,
             closeOnEscape: true,
             clearAfterAdd: true,
             addedrow: 'last',
             reloadAfterSubmit: false,
  
             afterSubmit: function (response) { return [true, '', response.responseText] }
               }
         } );
  </code></pre>