minibar/pgf_online.js: pass arguments to the browse function in the same way as the other functions

Also document it in gf-web-api-examples.html.
This commit is contained in:
hallgren
2012-04-10 13:33:12 +00:00
parent 18185aba97
commit 15bf21c091
3 changed files with 15 additions and 4 deletions

View File

@@ -444,7 +444,7 @@ Input.prototype.browse=function(id,cont) {
t.grammar.browse[id]=info;
cont(info);
}
t.server.browse(id,browsed);
t.server.browse({id:id},browsed);
}
}