In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
870 |
[In-Portal CMS] Admin Interfaces |
bug report |
always |
2010-09-22 06:06 |
2011-04-17 06:31 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.1.0 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.1.2-B1 |
|
Reference:
|
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/348da03357f7cd77 |
Change Log Message:
|
Ability to disable Flash uploader in Admin |
Estimate Points:
|
0 |
|
Summary:
|
0000870: Queuing events to uploader fails, when flash object isn't yet loaded |
Description:
|
Queuing events to uploader fails, when flash object isn't yet loaded.
For example, when you need to disable upload button method queueEvent must be used. This attempt will fail, because queueEvent is not aware if flash is loaded or not. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | related to | 0000955 | closed (5.1.2) | alex | Strange error, while using flash uploader | related to | 0000043 | closed (5.2.0) | alex | SWFUploader and "Save" button. |
|
Attached Files:
|
ability_to_queue_events_even_before_flash_loaded.patch (2,135) 2010-09-22 06:06 http://tracker.in-portal.org/file_download.php?file_id=782&type=bug |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2012-01-11 08:11 |
alex |
Relationship added |
related to 0000043 |
2011-04-17 06:31 |
alex |
Relationship added |
related to 0000955 |
2011-03-30 09:53 |
Dmitry |
Note Added: 0003354 |
|
2011-03-30 09:53 |
Dmitry |
Status |
resolved => closed |
2011-01-09 08:28 |
alex |
Note Added: 0003176 |
|
2011-01-09 08:28 |
alex |
Status |
reviewed and tested => resolved |
2011-01-09 08:28 |
alex |
Fixed in Version |
=> 5.1.2-B1 |
2011-01-09 08:28 |
alex |
Resolution |
open => fixed |
2011-01-09 08:28 |
alex |
Assigned To |
!COMMUNITY => alex |
2011-01-09 08:28 |
alex |
Changeset attached |
5.1.x r14126 |
2011-01-05 12:30 |
Dmitry |
Change Log Message |
=> Ability to disable Flash uploader in Admin |
2011-01-05 12:30 |
Dmitry |
Note Added: 0003168 |
|
2011-01-05 12:30 |
Dmitry |
Status |
needs testing => reviewed and tested |
2010-09-28 14:05 |
Dmitry |
Fixed in Version |
5.1.2 => |
2010-09-28 14:05 |
Dmitry |
Target Version |
Icebox => 5.1.2 |
2010-09-28 13:30 |
Dmitry |
Fixed in Version |
=> 5.1.2 |
2010-09-27 12:56 |
alex |
Note Added: 0002871 |
|
2010-09-23 10:36 |
Dmitry |
Note Added: 0002862 |
|
2010-09-22 06:07 |
alex |
Assigned To |
=> !COMMUNITY |
2010-09-22 06:07 |
alex |
Developer |
=> alex |
2010-09-22 06:07 |
alex |
Status |
active => needs testing |
2010-09-22 06:07 |
alex |
Reference |
=> http://groups.google.com/group/in-portal-bugs/browse_thread/thread/348da03357f7cd77 |
2010-09-22 06:06 |
alex |
New Issue |
|
2010-09-22 06:06 |
alex |
File Added: ability_to_queue_events_even_before_flash_loaded.patch |
|
Notes |
|
(0002862)
|
Dmitry
|
2010-09-23 10:36
|
|
Reminder sent to: alex Please provide description for a test case for default In-Portal installation. |
|
|
(0002871)
|
alex
|
2010-09-27 12:56
|
|
Here is JS code, that will disable "Browse" button for field "UploaderField" of "prefix" prefix.
var $uploader = UploadsManager._Uploaders[ '<inp2:prefix_InputName field="UploaderField" js_escape="1"/>' ];
$uploader.queueEvent(
function() {
setTimeout(
function () {
$uploader.callFlash('SetButtonDisabled', [false]);
}, 0
)
}
);
Maybe we should also introduce new method for getting uploader control based on field name, that will do following line:
$uploader = UploadsManager._Uploaders[ '<inp2:prefix_InputName field="UploaderField" js_escape="1"/>' ]; |
|
|
(0003168)
|
Dmitry
|
2011-01-05 12:30
|
|
Patch tested good.
Yes, it would be nice to have proposed way of "getting uploader control based on field name". I guess we can create a Feature Request? |
|
|
(0003176)
|
alex
|
2011-01-09 08:28
|
|
Fix committed to 5.1.x branch. Commit Message:
Fixes 0000870: Queuing events to uploader fails, when flash object isn't yet loaded |
|
|
(0003354)
|
Dmitry
|
2011-03-30 09:53
|
|
Closing, since 5.1.2 release has been released. |
|