search for: last_act

Displaying 15 results from an estimated 15 matches for "last_act".

Did you mean: last_ack
2005 Aug 18
0
Possible bug with scriptaculous dragdrop.js
Hi all. I think the following code in dragdrop.js fire: function(event, element) { if(!this.last_active) return; Position.prepare(); if (this.isAffected(Event.pointerX(event), Event.pointerY(event), element, this.last_active)) if (this.last_active.onDrop) this.last_active.onDrop(element, this.last_active); } should be changed to fire: function(event, element) {...
2006 Dec 27
5
redirect back to where I was before action?
For some reason I cannot find the documentation for this. How can I store the current URI/URL so that I can return with a redirect_to? session[last_action] = ??? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw...
2007 Feb 20
1
error message for record not found ?
...;sessid = ?", @session_id]) watch_session(args) sleep(2) clean_up end def watch_session(args) while @time_remaining > 0 sleep(1) emrec = Emrec.find(@emrec_id) if emrec != nil if emrec.timer_suspended == ''no'' last_activity = emrec.last_updated_at time_remaining_float = (last_activity + args[:initial_setting].to_i) - Time.now @time_remaining = time_remaining_float.to_i end else @time_remaining = 0 end end end def clean_up emrec = Emrec.find(@emrec_id)...
2006 Jun 10
3
RJS & nested divs
I''m a newbie and I''ve been trying to figure this out for a little while now, hopefully someone can point me in the right direction. case1 <div id="new"> </div> case2 <div id="new"><div id="item1"></div></div> <div id="new2"><div id="item1"></div></div> With RJS in
2015 Mar 10
0
[PATCH] v2v: Add the test-harness used by external tests.
...op stats + ) + in + loop stats; + + (* The guest has written something, so it has probably found its + * own disks, which is a good sign. Now we wait until it reaches + * the end condition (eg. Boot_to_idle or Boot_to_screenshot). + *) + let start = time () in + let last_activity = start in + let stats = D.block_stats dom dev in + let rec loop start last_activity stats = + sleep 10; + let t = time () in + if t -. start > float test_plan.boot_max_time then + bootfail t "guest timed out before reaching final state"; + let act...
2015 Mar 10
2
[PATCH 0/1] v2v: Add the test-harness used by external tests.
As I'm now working through the enormous virt-v2v/virt-p2v bug list, we need a high quality set of tests to ensure that we don't accidentally regress some old OS/hypervisor combination while making changes. The test cases are going to be huge, so we cannot possibly distribute them in libguestfs. Furthermore many of them have licensing problems which means we cannot redistribute them at
2005 Jul 05
1
[PATCH] script.aculo.us drag-and-drop patch
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2618 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050705/8b315d27/smime.bin
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when the dragged item is dropped? As it is, the onChange is called whenever you move the draggable to a new element (even if you don''t drop it), but I''d rather only call my function after they drop it to avoid unnecessary additional server calls. It looks like Droppable supports an ''onDrop'', but
2015 Jan 17
2
Changeset c02f29ca104d badly breaks LMTP/mdbox
...t;optimized out> rac = 0x1422088 status = <optimized out> #15 sieve_result_execute (result=0x1421d30, keep=keep at entry=0x0) at sieve-result.c:1387 status = <optimized out> result_status = <optimized out> first_action = 0x1422088 last_action = 0x0 implicit_keep = true ret = <optimized out> #16 0x00007f0ca17b5e45 in sieve_execute (sbin=<optimized out>, msgdata=<optimized out>, senv=<optimized out>, ehandler=ehandler at entry=0x140cba0, flags=flags at entry=SIEVE_RUNTIME_FLAG_NOGLOBAL, keep=keep...
2016 Apr 29
2
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
...a88e65e020 status = 1 #23 0x00007fa88b2aa250 in sieve_result_execute (result=0x7fa88e65dec0, keep=0x0, ehandler=0x7fa88e65b040, flags=SIEVE_EXECUTE_FLAG_NOGLOBAL) at sieve-result.c:1370 status = 1 result_status = -1905954768 first_action = 0x7fa88e65e020 last_action = 0x0 implicit_keep = true ret = 32680 #24 0x00007fa88b2c0597 in sieve_execute (sbin=0x7fa88e657030, msgdata=0x7ffdac80a9a0, senv=0x7ffdac80a9d0, exec_ehandler=0x7fa88e64b500, action_ehandler=0x7fa88e65b040, flags=SIEVE_EXECUTE_FLAG_NOGLOBAL, keep=0x0) at sieve.c:565...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...drop = Droppables.findDeepestChild(affected); @@ -101,7 +101,7 @@ var Droppables = { Position.within(drop.element, point[0], point[1]); if(drop.onHover) drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element)); - + if (drop != this.last_active) Droppables.activate(drop); } }, @@ -121,25 +121,25 @@ var Droppables = { if(this.last_active) this.deactivate(this.last_active); } -} +}; var Draggables = { drags: [], observers: [], - + register: function(draggable) { if(this.drags.length == 0) {...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2019 Oct 07
3
Sieve redirect is broken in 2.3.7.2 - signal 11
Hi Stephan, Here it is: Program received signal SIGSEGV, Segmentation fault. p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d <error: Cannot access memory at address 0x6d65642e6c69616d>) at strfuncs.c:51 51????? strfuncs.c: No such file or directory. (gdb) bt full #0? p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d <error: Cannot access memory at
2017 Jan 05
3
[PATCH net-next] net: make ndo_get_stats64 a void function
...ruct net_device *bond_dev, - struct rtnl_link_stats64 *stats); +static void bond_get_stats(struct net_device *bond_dev, + struct rtnl_link_stats64 *stats); static void bond_slave_arr_handler(struct work_struct *work); static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act, int mod); @@ -3337,8 +3337,8 @@ static void bond_fold_stats(struct rtnl_link_stats64 *_res, } } -static struct rtnl_link_stats64 *bond_get_stats(struct net_device *bond_dev, - struct rtnl_link_stats64 *stats) +static void bond_get_stats(struct net_device *bond_dev, + struct r...
2017 Jan 05
3
[PATCH net-next] net: make ndo_get_stats64 a void function
...ruct net_device *bond_dev, - struct rtnl_link_stats64 *stats); +static void bond_get_stats(struct net_device *bond_dev, + struct rtnl_link_stats64 *stats); static void bond_slave_arr_handler(struct work_struct *work); static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act, int mod); @@ -3337,8 +3337,8 @@ static void bond_fold_stats(struct rtnl_link_stats64 *_res, } } -static struct rtnl_link_stats64 *bond_get_stats(struct net_device *bond_dev, - struct rtnl_link_stats64 *stats) +static void bond_get_stats(struct net_device *bond_dev, + struct r...