Add the properties box to the OO apps toolbar

pull/1/head
yflory 6 years ago
parent 084aa09a2c
commit 46c3f1f3df

@ -87,6 +87,12 @@ define([
common.getPadAttribute('channel', waitFor(function (err, val) { common.getPadAttribute('channel', waitFor(function (err, val) {
data.channel = val; data.channel = val;
})); }));
common.getPadAttribute('rtChannel', waitFor(function (err, val) {
data.rtChannel = val;
}));
common.getPadAttribute('lastVersion', waitFor(function (err, val) {
data.lastVersion = val;
}));
common.getPadAttribute('atime', waitFor(function (err, val) { common.getPadAttribute('atime', waitFor(function (err, val) {
data.atime = val; data.atime = val;
})); }));

@ -896,6 +896,9 @@ define([
var helpMenu = common.createHelpMenu(['beta', 'oo']); var helpMenu = common.createHelpMenu(['beta', 'oo']);
$('#cp-app-oo-editor').prepend(helpMenu.menu); $('#cp-app-oo-editor').prepend(helpMenu.menu);
toolbar.$drawer.append(helpMenu.button); toolbar.$drawer.append(helpMenu.button);
var $properties = common.createButton('properties', true);
toolbar.$drawer.append($properties);
}; };
config.onReady = function (info) { config.onReady = function (info) {

Loading…
Cancel
Save