Displaying 20 results from an estimated 3000 matches similar to: "Rails Recipes: Drag'n'Drop Sortable List with unique index?"
2007 Oct 23
0
drag'n'drop or sortable
Hi,
I''m a newbie and have a little problem getting into scriptalicious:
I''d like to convert the items of a drop down list into draggable
objects - they should be only draggable but not sortable. They should
be draggable onto another box but in there the items should be
automatically sorted by the numerical id''s and not sortable by the
user.
I looked through all the
2006 Jun 28
1
sortable lists, database update
Hi,
I have some images and I want to be able to drag them into the order I
want and have the database updated accordingly. I have an unordered
list elsewhere in the application that works well, but for the images
I cant get it working.
In my controller I have:
def updateorder
params[:images].each_with_index { |id,idx| ProductImage.update(id,
:display_order => idx) }
render :text
2010 Apr 03
0
Shutdown Problems
Hi
i can''t halt system, it stoped @
[<fffffff81015132>] system_call_fastpath+0x16/0x1b
http://s1.bild.me/bilder/012010
i use a 2.6.31.12 Kernel from
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
can i fix this ?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2012 Aug 29
0
Drag'n'Drop problem
Hi,
Under certain circumstances, dnd doesn't work on my system with Qt
applications.
This only happens when Compiz is active and with Qt-native applications
(such as Qt's dnd demos).
Applications using GTK or KDElibs are unaffected. To make things even
more strange,
the dnd works on part of the screen (top-left), but after the mouse
cursor dragging an item
goes beyond a certain
2010 Aug 05
0
samba-3.3.10 - Strength Problem with access on one share
Hi,
i'm running samba on a FreeBSD 8.0 Jail and have a strength problem
about one share with these error messages:
pc (ip) connect to service bb.produkt.dev initially as user root (uid=0,
gid=80) (pid 44072)
pc (ip) couldn't find service bb.produkt.de
pc (ip) couldn't find service bb.produkt.de
pc (ip) couldn't find service bb.produkt.de
pc (ip) couldn't find service
2007 Apr 29
2
Validate unique within date range?
I''m setting up a simple system for listing products and specials. I''m
looking for a way to validate that only one special can exist per
product per date range. For example, if a product is on sale from
2007-04-29 to 2007-05-10, you cannot create a special for that product
that starts on 2007-05-09.
What''s the best way to do this with Rails? I''m fairly new to
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my
question is similar in the regards that i don''t want my application to
send multiple requests. i have 2 sortabbles lists left, and right. when
i move an item from left to the right the onUpdate callback will send 2
ajax requests. one for each sortables. however. i want it to serialize
and send back the results from
2018 Dec 30
0
--partial does not "unhide" the files
I think --partial might be a red herring here. It only applies to what
happens when rsync is aborted in the middle of a file. What happens
without -P?
Also, it is worth trying with --inplace.
On 12/30/18 5:32 PM, Heiko Schlittermann via rsync wrote:
> Hi,
>
> I used --partial to transfer files from my local computer (rsync 3.1.2,
> Debian) to a remote computer (rsync 3.1.1 WD
2014 May 05
3
recycle: ... returned No such file or directory
Hi,
recently I see lots of logs like this. I figured, that many have umlaute
in their name - but not all. My local FS displays the umlaute correctly
- but it is not displayed correctly in the logfiles.
Also, when I browse through shares via Windows or MacOSx all files with
umlaute seem to be displayed correctly.
May 5 08:27:54 Storage-01 smbd[39207]: recycle: stat for
2008 Feb 25
3
Whitespace in img src
Hello,
markdown (Python implementation) seems to render:
![alternativer text](pfad/und/eine lange/url zum bild.jpg)
to
<img src="pfad/und/eine" title="lange/url zum bild.jpg"
alt="alternativer text"/>
breaking the URL at the whitespace. AFAIK whitespaces are ok in URLs
so why is it breaking up the URL here?
Thanks,
Florian
--
I'm using an
2006 Nov 28
3
remove_index appends suffix "_index" to the given name!
Hi all
This creates an index with the name position_and_produkt_id_uniq:
add_index :bilder, [:produkt_id, :position], :unique => true, :name =>
:position_and_produkt_id_uniq
This should remove the same one:
remove_index :bilder, :position_and_produkt_id_uniq
Sadly I get the following error:
Mysql::Error: Can''t DROP ''bilder_position_and_produkt_id_uniq_index'';
2005 Jan 19
2
Moving fileserver
I'm having a problem here I'm not sure how to solve, so I
hope someone else have done the same (and succeeded :)
I have an old smb server ('tux') which is ancient (both
in software and hardware) and can't handle the load.
This machine is running version 2.2.3a-14.1 (Debian
GNU/Linux woody) with 'character set = ISO8859-1'.
The new smb server ('bella') runs
2018 Jan 25
0
HCL Zinto 800 supported by blazer_ser and blazer_usb
Hi,
today I have tested the Zinto 800 with blazer_ser and blazer_usb on
Citrix Server 7.0. Both works fine.
upsc-Output (blazer_ser):
battery.charge: 94
battery.voltage: 25.70
battery.voltage.high: 26.00
battery.voltage.low: 20.80
battery.voltage.nominal: 24.0
device.mfr:
device.model: ZINTO 800
device.type: ups
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port:
2011 Mar 27
1
Sweave: include a multi-page-pdf plot
Hi,
I'm just starting out with Sweave, and I can't get a plot(linmod) to
display all four plots:
<< bild >>=
x1 <- runif(100)
x2 <- rexp(100)
y <- 3 + 4*x1 + 5*x2 + rnorm(100)
mod <- lm(y~x1+x2)
plot(mod)
@
Some Text
<<fig=TRUE>>=
<<bild>>
@
This plots only the first image of the four-page plot.lm() result.
I don't want to use
2012 Nov 16
2
grant windows group share permission
Hello
i like to give a windows group (W2K3-AD) permissions to use a share
read/write on a Samba domain member server. Therefore if have added
the Samba server to the domain without problem and created a share
like this:
[bild]
comment = Some Comment
path = /data/bild
admin users = root
force user = smbuser
force group = sambashare
valid users = DOMAIN\w-user1
2018 Dec 30
2
--partial does not "unhide" the files
Hi,
I used --partial to transfer files from my local computer (rsync 3.1.2,
Debian) to a remote computer (rsync 3.1.1 WD MyPassport Storage device)
The files get transferred, but after successful transfer, the files
are not renamed from .<tmpfile> to <file>.
Where to go next?
Here is the verbose output after transferring an empty file
heiko at blade:~/Pictures$ rsync
2014 May 08
2
2x Samba4 Bugs - "mount error(5): Input/output error" & "recycle: stat for ... AFP_AfpInfo returned No such file or directory"
Hi
I'm using Samba version 4.1.7 on the server side. On the Client side is
multiple versions
- a copy machine Konica Minolta
- Windows XP
- Windows 7
- Mac OSx (Mavericks)
- CentOS (XenServer)
all of them get sporadic input output errors. E.g: on a Linux I would get a
mount error(5): Input/output error
after the first try. And as funny as it sounds, but the second try is a
success and
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380.
First, the money shot - check out this demo of a scriptaculous DataGrid:
http://development.finetooth.com/?p=13
I''m using the <tr> as a sortable with the <th>''s as the sortable elements.
The Patch file:
http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff
The patch
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me
Hi.
http://favoris.lichenmedia.com/untitled.htm
I don''t know why, but when I drag those sortables (tagged with the handle
handle) filled with the sortables (the lists with lorem ipsum) The
handled-one "stays" where you dropped them.
When you drag the li between the uls that are the big containers, no
2008 Jan 14
1
Problems with forms
hello all
i''m a newbie on mechanize, but already had some success.
But now i''m in a real problem :
The following HTML-Code is not parsed corect, not all form element are
found. I''can''t change the server-code.
How to fix ?
HTML-Site
------X-----------------------------------------------------------------------X-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD