Permalink
Browse files

The new jquery.tmpl wants tmpl() instead of render()

  • Loading branch information...
1 parent 48cf8f9 commit 3d3e5c6bc5519f22c85d0030876e15e36bd8aa0a Mathieu Rene committed Aug 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 clients/flex/freeswitch.html
@@ -228,7 +228,7 @@
function add_call(uuid, name, number, account) {
var c = [ {uuid: uuid, name: name, number: number, account: account } ];
- var elm = $("#call_template").render(c);
+ var elm = $("#call_template").tmpl(c);
elm.data("uuid", uuid);
elm.data("name", name);
@@ -251,7 +251,7 @@
var u = suser + "@" + domain;
var sid = u.replace("@", "_").replace(/\./g, "_");
var c = [ { id: sid, user: u} ];
- var elm = $("#account_template").render(c);
+ var elm = $("#account_template").tmpl(c);
elm.data("user", u);
elm.appendTo("#account_container");
$("a", "#account_" + sid).button();

0 comments on commit 3d3e5c6

Please sign in to comment.