Make sure the initial title is set in the userDoc when creating a new pad
This commit is contained in:
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…
x
Reference in New Issue
Block a user