#8514 closed defect (fixed)
thumbnailPicker Widget - infinite loading of images after setDatastore to change the datastore.
Reported by: | hzerres | Owned by: | Shane O'Sullivan |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Widgets | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
this._loadNextPage() sends a request to fetch images and uses a variable called Boolean:this._loadInProgress to have some kind of semaphore.
This variable is not reset when setDatastore is called to replace the images in the thumbnailpicker.
My workaround right now is to add line 237 to the ThumbnailPicker?.
234 this.request.start = 0; 235 this.request.count = this.pageSize; 236 this.imageStore = dataStore; 237 this._loadInProgress = false; 238 239 if(!this.init()){this._loadNextPage();} 240 },
I would appreciate it, if someone would fix this. Thank you!!
Change History (5)
comment:1 Changed 13 years ago by
Owner: | changed from dante to Shane O'Sullivan |
---|
comment:2 Changed 13 years ago by
Milestone: | tbd → future |
---|
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [20288]) Refs #8514 Fixes issue where setting a datastore after one has been previously set causes an error to be thrown. Also fixes positioning bug where the play button in the slideshow was not centered correctly.