La pantalla de Cases Note solo visualiza hasta 10 cases note debe mostrar el total, sin necesidad de habilitar el show more notes
This commit is contained in:
dheeyi
2015-05-26 09:53:36 -04:00
parent 5dbc9a8c96
commit 26b452a10e

View File

@@ -33,13 +33,15 @@ function openCaseNotesWindow(appUid1, delIndex, modalSw, appTitle, proUid, taskU
var startRecord=0;
var loadSize=10;
startRecord=startRecord+loadSize;
storeNotes = new Ext.data.JsonStore({
url: "../appProxy/getNotesList?appUid=" + appUid + "&delIndex=" + delIndex + "&pro=" + proUid + "&tas=" + taskUid,
root: 'notes',
totalProperty: 'totalCount',
fields: ['USR_USERNAME','USR_FIRSTNAME','USR_LASTNAME','USR_FULL_NAME','NOTE_DATE','NOTE_CONTENT', 'USR_UID', 'user'],
baseParams:{
start:startRecord,
start:0,
limit:startRecord+loadSize
},
listeners:{