I’m working on an admin section for a buisneness, with most of the work I’m doing hidden from the public. To ask this question, I’ve copied the relevants files to here:
http://www.krubner.com/js_test/importqueue.html
2 questions:
1.) For me, this script keeps locking up. I can drag things 3 or 4 times before it stops working. Is this happening for anyone else? I’m working with FireFox 1.5 on a Ubuntu Linux machine. There is this code at the bottom:
// 10-05-08 – this is the Javascript that makes the above table sortable and dragable.
Sortable.create(“sortable_import_queue”,
{ onUpdate: function() { new Ajax.Request(“importqueue/update_queue”, { method: “post”, parameters: { data: Sortable.serialize(“sortlist”) } }); }
);
On my actual site, the onUpdate() call never seems to work, but here it is working.
2.) The client asked that I include a save button that is greyed out till a change is made to the data on this page. I know some scriptaculous effect is suppose to enable this. Which is it?