forked from 0x2620/pandora
fix canEdit flag in renderGroup
This commit is contained in:
parent
5583fad801
commit
a4d0830e4b
3 changed files with 3 additions and 0 deletions
|
@ -1095,6 +1095,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
.appendTo($element);
|
.appendTo($element);
|
||||||
}
|
}
|
||||||
Ox.EditableContent({
|
Ox.EditableContent({
|
||||||
|
editable: canEdit,
|
||||||
clickLink: pandora.clickLink,
|
clickLink: pandora.clickLink,
|
||||||
format: function(value) {
|
format: function(value) {
|
||||||
return formatValue(key, value);
|
return formatValue(key, value);
|
||||||
|
|
|
@ -516,6 +516,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
}
|
}
|
||||||
$('<span>').html(formatKey(key)).appendTo($element);
|
$('<span>').html(formatKey(key)).appendTo($element);
|
||||||
Ox.EditableContent({
|
Ox.EditableContent({
|
||||||
|
editable: canEdit,
|
||||||
clickLink: pandora.clickLink,
|
clickLink: pandora.clickLink,
|
||||||
format: function(value) {
|
format: function(value) {
|
||||||
return formatValue(key, value);
|
return formatValue(key, value);
|
||||||
|
|
|
@ -655,6 +655,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
}
|
}
|
||||||
$('<span>').html(formatKey(key)).appendTo($element);
|
$('<span>').html(formatKey(key)).appendTo($element);
|
||||||
Ox.EditableContent({
|
Ox.EditableContent({
|
||||||
|
editable: canEdit,
|
||||||
clickLink: pandora.clickLink,
|
clickLink: pandora.clickLink,
|
||||||
format: function(value) {
|
format: function(value) {
|
||||||
return formatValue(key, value);
|
return formatValue(key, value);
|
||||||
|
|
Loading…
Reference in a new issue