save notes in .data, dont return item properties that have capabilities not allowed to user

This commit is contained in:
j 2013-03-09 08:23:47 +00:00
commit 58bac6981f
7 changed files with 338 additions and 13 deletions

View file

@ -567,7 +567,7 @@ pandora.ui.infoView = function(data) {
placeholder: formatLight('No notes'),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.notes,
value: data.notes || '',
width: 128
})
.bindEvent({

View file

@ -425,7 +425,7 @@ pandora.ui.infoView = function(data) {
placeholder: formatLight('No comments'),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.comments,
value: data.comments || '',
width: 128
})
.bindEvent({

View file

@ -522,7 +522,7 @@ pandora.ui.infoView = function(data) {
placeholder: formatLight('No notes'),
tooltip: pandora.getEditTooltip(),
type: 'textarea',
value: data.notes,
value: data.notes || '',
width: 128
})
.bindEvent({