In-Portal Issue Tracker - In-Portal CMS
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||
1292 | [In-Portal CMS] Front End | feature request | N/A | 2012-05-18 04:53 | 2012-07-25 05:30 | |||||
|
||||||||||
Reporter: | alex | Platform: | ||||||||
Assigned To: | alex | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | closed | Product Version: | 5.1.3 | |||||||
Product Build: | Resolution: | fixed | ||||||||
ETA: | none | Fixed in Version: | 5.2.0-RC1 | |||||||
Reference: | https://groups.google.com/d/topic/in-portal-dev/BoPw8BaFR8g/discussion | |||||||||
Change Log Message: | Allows to sort uploaded files | |||||||||
Estimate Points: | 1 | |||||||||
|
||||||||||
Summary: | 0001292: Sorting already uploaded files | |||||||||
Description: |
To make flash uploader even more powerful I'm proposing to add queue sorting capability to it. To allow that I've added getSortedFiles function, that allows to sort uploaded files using uploader queue div IDs as input. As an example I've used following code (see http://jqueryui.com/demos/sortable/#display-grid): $(document).ready( function () { var $uploader_id = '<inp2:project_InputName name="Gallery" js_escape="1"/>'; $('#' + jq($uploader_id + '_queueinfo')) .sortable({ update: function(event, ui) { var $new_order = $(this).sortable('toArray'), $uploader = UploadsManager._Uploaders[$uploader_id], $files = $uploader.getSortedFiles($new_order); $('#' + jq($uploader_id + '[order]')).val($files.join('|')); } }) .disableSelection(); } ); jQuery sortable isn't included in in-portal, that's why by default you can't sort anything of course. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
uploader_queue_sorting.patch (4,597) 2012-05-18 04:53 http://tracker.in-portal.org/file_download.php?file_id=1666&type=bug |
|||||||||
|
||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-07-25 05:30 | alex | Note Added: 0004896 | ||||||||
2012-07-25 05:30 | alex | Status | resolved => closed | |||||||
2012-05-18 04:55 | alex | Changeset attached | 5.2.x r15347 | |||||||
2012-05-18 04:55 | alex | Note Added: 0004655 | ||||||||
2012-05-18 04:55 | alex | Status | reviewed and tested => resolved | |||||||
2012-05-18 04:55 | alex | Fixed in Version | => 5.2.0-RC1 | |||||||
2012-05-18 04:55 | alex | Resolution | open => fixed | |||||||
2012-05-18 04:55 | alex | Assigned To | !COMMUNITY => alex | |||||||
2012-05-18 04:54 | alex | Note Added: 0004654 | ||||||||
2012-05-18 04:54 | alex | Status | needs testing => reviewed and tested | |||||||
2012-05-18 04:54 | alex | Assigned To | => !COMMUNITY | |||||||
2012-05-18 04:54 | alex | Developer | => alex | |||||||
2012-05-18 04:54 | alex | Status | active => needs testing | |||||||
2012-05-18 04:54 | alex | Reference | => https://groups.google.com/d/topic/in-portal-dev/BoPw8BaFR8g/discussion | |||||||
2012-05-18 04:53 | alex | Relationship added | related to 0000456 | |||||||
2012-05-18 04:53 | alex | New Issue | ||||||||
2012-05-18 04:53 | alex | File Added: uploader_queue_sorting.patch | ||||||||
2012-05-18 04:53 | alex | Change Log Message | => Allows to sort uploaded files | |||||||
2012-05-18 04:53 | alex | Estimate Points | => 1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|