fix editing document title

This commit is contained in:
j 2017-02-15 16:55:45 +00:00
parent 596d10ce83
commit a5dfc438d3

View file

@ -224,7 +224,7 @@ pandora.ui.textHTML = function(text) {
if (pandora.user.ui.section == 'documents') { if (pandora.user.ui.section == 'documents') {
pandora.api.editDocument({ pandora.api.editDocument({
id: pandora.user.ui.document, id: pandora.user.ui.document,
name: data.value title: data.value
}, function(result) { }, function(result) {
if (result.data.name != data.value) { if (result.data.name != data.value) {
Ox.Request.clearCache(); Ox.Request.clearCache();