Bharat Mediratta
055aa04497
Rename moveTo to move_to and extend the test a bit.
2008-12-07 08:23:22 +00:00
Tim Almdal
0f103b1c06
Moving albums around with a drag and drop interface seems to work and preserve the left right pointers.
...
* changed _lock and _unlock to protected methods lock and lock respectively
* added a moveTo method on the Item_Model
* Corrected the hole closure on delete.
* added moveTo on the ORM_MTPP class
* Changed the rearrange javascript to do moves with ajax
2008-12-04 20:05:58 +00:00
Tim Almdal
deafa2f912
remove unused ->root
2008-12-04 06:43:16 +00:00
Tim Almdal
1ae3ed7e3b
Get rid of the rearrange helper as the code could be inlined
2008-12-04 06:36:14 +00:00
Tim Almdal
b9a0843d86
Remove an resemblence to a RESTful controller from Rearrange_Controller
2008-12-04 06:28:42 +00:00
Bharat Mediratta
c67a4f485d
style updates
2008-12-04 05:54:26 +00:00
Tim Almdal
1e647c2a03
Drag and drop seems to work in the rearrange module
2008-12-03 18:14:15 +00:00
Bharat Mediratta
7f9b765571
Fix errors in the preamble
2008-12-03 03:53:46 +00:00
Tim Almdal
3953dde2c6
The rearrange module will now add an album if you drag the "new album" onto the album tree. I haven't had a chance to figure out why the form does get any styling or why a textarea is no included as a list item.
2008-12-02 21:25:15 +00:00
Bharat Mediratta
9f1f10c4dd
Turn <div/> into <div></div> to make Chrome happy.
2008-12-01 23:46:43 +00:00
Bharat Mediratta
77f9e81fac
Add missing closing >
2008-12-01 23:44:14 +00:00
Tim Almdal
6459f167fd
Drag and Drop is starting to work. You can drag the New Album over any of the directorys and it will be allowed. Drag anything over New Album and it will return. You can drag an tree item except the root over the delete icon and it will be accepted. Now I need to build the ajax and server side functionality the at allows this to all work.
2008-12-01 23:14:26 +00:00
Tim Almdal
92563f813e
Fix the fact that the tree wouldn't show up... just a wee bit overly aggressive in cleaning up what i thought was unused files
2008-12-01 21:35:09 +00:00
Tim Almdal
0ebd4f6b28
New Rearrange gui based on jqueryFileTree ( http://www.abeautifulsite.net/notebook.php?article=58 ). I like the look of this one better. Still need to implement the drag and drop functionality.
2008-12-01 20:54:25 +00:00
Tim Almdal
7ae004f76f
The gui part of rearranging albums and photos on the welcome page. Haven't finished the ajax back end to actually do the move, but thought i'd put the gui up so people can play
2008-11-29 20:02:30 +00:00
Tim Almdal
a73aade713
The start of a rearrange module
2008-11-28 22:06:26 +00:00