-
[FIXED r1157] JS error when selecting multiple messages with paging and then dragging
Hi,
I get a JavaScript error when I select a range of message that requires 'paging'.
So select a messages, and then use the scrollbar to scroll down in the folder (this requires a lot of messages in the folder), such that the browser has to contact the server again. Then do shift-click to select this large range. After that try to drag the selection.
You'll get a JS error like:
Error: this.selectionsProxy.load is not a function
This comes from livegrid-all-debug.js.
I can get the same error by enabling DnD in the livegrid simple_grid example.
Thanks.
Henk
-
I see in the Ext JS 3.1.1 code:
/**
* <b>Deprecated</b> load method using old method signature. See {@doRequest} for preferred method.
* @deprecated
* @param {Object} params
* @param {Object} reader
* @param {Object} callback
* @param {Object} scope
* @param {Object} arg
*/
load : null,
So I guess livegrid needs to be updated to use doRequest instead of load.
Thanks.
Henk
-
Changing the livegrid code from:
this.selectionsProxy.load(params, this.reader,
this.selectionsLoaded, this,
options);
to
this.selectionsProxy.doRequest('read', [], params, this.reader,
this.selectionsLoaded, this,
options);
resolves the error.
I have not done any functional tests to determine if it all works properly. But the drag message does state the correct number of select messages.
Thanks.
Henk
-
Thanks, this was fixed in r1157
Posting Permissions
- You may post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules