Make sure the initial title is set in the userDoc when creating a new pad

pull/1/head
yflory 8 years ago
parent 8b5f4dbd47
commit a5924cb803

@ -14,6 +14,7 @@ define(function () {
var getHeadingText = cfg.getHeadingText || function () { return; };
var updateLocalTitle = function (newTitle) {
exp.title = newTitle;
onLocal();
if (typeof cfg.updateLocalTitle === "function") {
cfg.updateLocalTitle(newTitle);
} else {

@ -205,6 +205,7 @@ define([
$(ifrw).on('keyup', function (e) {
if (!Slide.shown) { return; }
if (e.ctrlKey) { return; }
switch(e.which) {
case 33: // pageup
case 38: // up

Loading…
Cancel
Save