// Moodle v2.7.0 release upgrade line.
// Put any upgrade step following this.
- if ($oldversion < 2014070301) {
+ if ($oldversion < 2014081400) {
// Define table editor_atto_autosave to be created.
$table = new xmldb_table('editor_atto_autosave');
}
// Atto savepoint reached.
- upgrade_plugin_savepoint(true, 2014070301, 'editor', 'atto');
+ upgrade_plugin_savepoint(true, 2014081400, 'editor', 'atto');
}
return true;
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2014070301; // The current plugin version (Date: YYYYMMDDXX).
+$plugin->version = 2014081400; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014050800; // Requires this Moodle version.
$plugin->component = 'editor_atto'; // Full name of the plugin (used for diagnostics).
on: {
success: function(id,o) {
if (typeof o.responseText !== "undefined" &&
- o.responseText !== "" &&
- o.responseText !== this.textarea.get('value')) {
+ o.responseText !== "" &&
+ o.responseText !== this.textarea.get('value')) {
Y.log('Autosave text found - confirm recovery.', 'debug', LOGNAME_AUTOSAVE);
this.recoverText(o.responseText);
}