forked from 0x2620/pandora
fix editing document title
This commit is contained in:
parent
596d10ce83
commit
a5dfc438d3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue