fixed recursive adding of periodic refresh script
authorLadislav Slezak <lslezak@novell.com>
Thu, 24 Jun 2010 12:01:08 +0000 (14:01 +0200)
committerLadislav Slezak <lslezak@novell.com>
Thu, 24 Jun 2010 12:01:08 +0000 (14:01 +0200)
commit0fa768661d1b7572010826a418fa6d5c1d98c559
treef4c571cfb290fe0d03af233b0ae38ef9e8c51223
parentcd4b163a89621de3dabfd90ed28e22833c71038c
fixed recursive adding of periodic refresh script

the result was that every partial render added a new periodic refresh
and requested self reload => the number of timers exponentially grow up,
there were hundreds parallel requests after few minutes...
plugins/patch_updates/app/controllers/patch_updates_controller.rb
plugins/patch_updates/app/views/patch_updates/_patch_installation.html.erb