small bug fixes

This commit is contained in:
Caleb James DeLisle
2017-09-26 10:23:35 +02:00
parent 1b01855dd2
commit 77fe6a9bba
3 changed files with 2 additions and 7 deletions

View File

@@ -321,9 +321,7 @@ define([
};
if (!framework.isReadOnly()) {
console.log('\n\n\n\n\nREGISTER\n\n\n\n\n');
framework.onEditableChange(function () {
console.log("Editable change");
var locked = framework.isLocked();
$(inner).css({ 'background-color': ((locked) ? '#aaa' : '') });
inner.setAttribute('contenteditable', !locked);
@@ -350,9 +348,6 @@ define([
};
framework._.sfCommon.openFilePicker(pickerCfg);
}).appendTo(framework._.toolbar.$rightside);
var $tags = framework._.sfCommon.createButton('hashtag', true);
framework._.toolbar.$rightside.append($tags);
}
framework.setTitleRecommender(function () {