Commit 252571c4 authored by clone's avatar clone

bug

parent 279bad0e
......@@ -85,9 +85,9 @@ define (['doT', 'text!temp/banner_template_tpl.html', 'ckfinder', 'ckfinderStart
var item = $ (this).parents ("tr").find ("td");
$ ("#id").val ($ (this).attr ("data-id"));
$ ("#title").val (item.eq (0).html ());
$ ("#url").val (item.eq (2).html ());
$ ("#url").val (item.eq (3).html ());
$ ("#cover_image").val (item.eq (1).find ("input").val ());
$ ("#sort").val (item.eq (3).html ());
$ ("#sort").val (item.eq (4).html ());
});
$ (document).delegate (".delete_banner", "click", function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment