fix ajax-modal to work with updated row

* fix bug 962029

Change-Id: Id006df4d1b959bab6045d9b092c39d08c8dd94a4
This commit is contained in:
Andy Chong 2012-03-22 18:12:18 +08:00
parent 479ebdc3ff
commit 60f71c58af

View File

@ -87,7 +87,7 @@ horizon.addInitFunction(function() {
$(this).css('top', scrollShift + parseInt(topVal, 10));
});
$('.ajax-modal').click(function (evt) {
$('.ajax-modal').live('click', function (evt) {
var $this = $(this);
$.ajax($this.attr('href'), {
error: function(jqXHR, status, errorThrown) {