Anonymous | Login | Signup for a new account | 2023-12-06 15:49 CST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001292 | [In-Portal CMS] Front End | feature request | N/A | 2012-05-18 04:53 | 2012-07-25 05:30 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.0-RC1 | ||
Status | closed | Product Version | 5.1.3 | Target Version | 5.2.0 | ||
Time Estimate | No estimate | ||||||
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. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-dev/BoPw8BaFR8g/discussion | ||||||
Change Log Message | Allows to sort uploaded files | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
||||||
|
![]() |
|
![]() alex (manager) 2012-05-18 04:54 |
Will test all together later. |
![]() alex (manager) 2012-05-18 04:55 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001292: Sorting already uploaded files |
![]() alex (manager) 2012-07-25 05:30 |
Since 5.2.0/1.2.0 versions was released. |
![]() |
|||
In-Portal CMS: 5.2.x r15347 Timestamp: 2012-05-18 04:55:58 Author: alex [ Details ] [ Diff ] |
Fixes 0001292: Sorting already uploaded files | ||
mod - /in-portal/branches/5.2.x/core/admin_templates/incs/form_blocks.tpl | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.2.x/core/admin_templates/js/uploader/uploader.js | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php | [ Diff ] [ File ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |