Skip to content
Browse files

add manual push of changeData trigger

  • Loading branch information...
1 parent 442048c commit d4bd8fc1ebcaf20c17a6c5922de90622c7cff852 @tjfontaine committed Nov 27, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 manager.html
View
3 manager.html
@@ -38,6 +38,7 @@
var cache = null;
var keys = localStorage["api_keys"].split(',')
var apis = []
+ function trigger_update(l) { for(k in l) { $(l).data(k, l[k]) } }
$.each(keys, function(i, key)
{
if(key && key.length > 1)
@@ -54,6 +55,8 @@
{
var elm = $('#linode-'+l.LINODEID)
elm.link(l, LINODE_OBJ_CONVERSION[l.key])
+ /* this shouldn't be necessary */
+ trigger_update(l)
})
}
cache.fill(start)

0 comments on commit d4bd8fc

Please sign in to comment.
Something went wrong with that request. Please try again.