Displaying 7 results from an estimated 7 matches for "new_rows".
2006 Mar 01
9
ajax doesn''t show at the right place
Hi,
I use link_to_remote to create a link to trigger an
ajax, things work fine, a new rhtml is created,
however, the newly created rhtml doesn''t replace my
old zone, it shows instead on top of my old
zone...Does someone know why???
my code is like
<table>
<tr><td colspan="2"><a href="#" onclick="new
Ajax.Updater(''zone1'',
2006 Oct 04
0
do_work and long running rails tasks?
...ckgroundrb seems to be blockin on Model.find
calls.
Here''s the code
--- worker.rb --
def do_work(args)
@rows = []
@percent = 0
@host = Host.find( args[:id])
ips = @host.ipaddresses
step = 100.0/ips.size
ips.each do |ip|
@percent += step
new_rows = Sysloglog.find(:all,
:limit => 20,
:offset => 0,
:order => "eventtime DESC",
:conditions => [ "assets_ipaddr_id
= ?", ip.id ]...
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
Good day.
I have setup of a text field with auto complete and I need to grab the value
from that text field and pass it into a method to update a row in a table.
Here is the view:
<tr>
<td align="center" colspan="6"><%= text_field_with_auto_complete(
:product, :product_code ) %></td>
</tr>
<tr>
<td
2020 Oct 29
0
[PATCH] fbcon: Disable accelerated scrolling
...817b0d..8d1ae973041a 100644
--- a/drivers/video/fbdev/core/fbcon.c
+++ b/drivers/video/fbdev/core/fbcon.c
@@ -1033,7 +1033,7 @@ static void fbcon_init(struct vc_data *vc, int init)
struct vc_data *svc = *default_mode;
struct fbcon_display *t, *p = &fb_display[vc->vc_num];
int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
- int cap, ret;
+ int ret;
if (WARN_ON(info_idx == -1))
return;
@@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
con2fb_map[vc->vc_num] = info_idx;
info = registered_fb[con2fb_map[vc->vc_num]];
- cap = info->f...
2020 Oct 31
2
[PATCH] fbcon: Disable accelerated scrolling
...> --- a/drivers/video/fbdev/core/fbcon.c
> +++ b/drivers/video/fbdev/core/fbcon.c
> @@ -1033,7 +1033,7 @@ static void fbcon_init(struct vc_data *vc, int init)
> struct vc_data *svc = *default_mode;
> struct fbcon_display *t, *p = &fb_display[vc->vc_num];
> int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
> - int cap, ret;
> + int ret;
>
> if (WARN_ON(info_idx == -1))
> return;
> @@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
> con2fb_map[vc->vc_num] = info_idx;
>
> info = registered_fb[con2fb_ma...
2020 Oct 31
0
[PATCH] fbcon: Disable accelerated scrolling
...on.c
> > +++ b/drivers/video/fbdev/core/fbcon.c
> > @@ -1033,7 +1033,7 @@ static void fbcon_init(struct vc_data *vc, int init)
> > struct vc_data *svc = *default_mode;
> > struct fbcon_display *t, *p = &fb_display[vc->vc_num];
> > int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
> > - int cap, ret;
> > + int ret;
> >
> > if (WARN_ON(info_idx == -1))
> > return;
> > @@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
> > con2fb_map[vc-...
2020 Oct 29
4
[PATCH 1/3] fbcon: Disable accelerated scrolling
So ever since syzbot discovered fbcon, we have solid proof that it's
full of bugs. And often the solution is to just delete code and remove
features, e.g. 50145474f6ef ("fbcon: remove soft scrollback code").
Now the problem is that most modern-ish drivers really only treat
fbcon as an dumb kernel console until userspace takes over, and Oops
printer for some emergencies. Looking at