plugin.commitCurrentChanges

The 'commitCurrentChanges' function saves the current HTML content if it is dirty.

  • Prototype: plugin.commitCurrentChanges(iDbPos);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
  • Return Value: true on success, or false on failure.
  • Example:
    plugin.commitCurrentChanges(-1);