|
|
@ -605,7 +605,7 @@ define([
|
|
|
|
Title = common.createTitle({});
|
|
|
|
Title = common.createTitle({});
|
|
|
|
|
|
|
|
|
|
|
|
var configTb = {
|
|
|
|
var configTb = {
|
|
|
|
displayed: ['title', 'useradmin', 'spinner', 'share', 'userlist', 'newpad', 'limit'],
|
|
|
|
displayed: ['pad'],
|
|
|
|
title: Title.getTitleConfig(),
|
|
|
|
title: Title.getTitleConfig(),
|
|
|
|
metadataMgr: metadataMgr,
|
|
|
|
metadataMgr: metadataMgr,
|
|
|
|
readOnly: 1,
|
|
|
|
readOnly: 1,
|
|
|
@ -633,7 +633,7 @@ define([
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var $hist = common.createButton('history', true, {histConfig: histConfig});
|
|
|
|
var $hist = common.createButton('history', true, {histConfig: histConfig});
|
|
|
|
$hist.addClass('cp-hidden-if-readonly');
|
|
|
|
$hist.addClass('cp-hidden-if-readonly');
|
|
|
|
toolbar.$rightside.append($hist);
|
|
|
|
toolbar.$drawer.append($hist);
|
|
|
|
|
|
|
|
|
|
|
|
var $content = common.createButton(null, true, {
|
|
|
|
var $content = common.createButton(null, true, {
|
|
|
|
icon: 'fa-question',
|
|
|
|
icon: 'fa-question',
|
|
|
@ -642,7 +642,7 @@ define([
|
|
|
|
id: 'cp-app-debug-get-content'
|
|
|
|
id: 'cp-app-debug-get-content'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$content.click(getContent);
|
|
|
|
$content.click(getContent);
|
|
|
|
toolbar.$rightside.append($content);
|
|
|
|
toolbar.$drawer.append($content);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
config.onReady = function (info) {
|
|
|
|
config.onReady = function (info) {
|
|
|
|