need delegation with delayed initialization.

This commit is contained in:
Naomi 2013-08-23 13:38:20 -04:00
parent f1b1352077
commit b2828d466d

View file

@ -404,7 +404,7 @@ var AIRTIME = (function(AIRTIME) {
$historyContentDiv.find(dateEndId).datepicker(oBaseDatePickerSettings);
$historyContentDiv.find(timeEndId).timepicker(oBaseTimePickerSettings);
$("#his_create").click(function(e) {
$historyContentDiv.on("click", "#his_create", function(e) {
var url = baseUrl+"playouthistory/edit-list-item/format/json" ;
e.preventDefault();