Removed old ajax handers. Added new ajax handlers
This commit is contained in:
parent
74579ed3d2
commit
7076eba4ed
2 changed files with 120 additions and 15 deletions
|
|
@ -6,7 +6,7 @@ function taskEdit_getResourceListDiv() {
|
|||
}
|
||||
|
||||
function taskEdit_searchPopup(url) {
|
||||
window.open(url, null, 'status=1,scrollbars=1,toolbar=0,location=0,menubar=0,directories=0,resizable=1,height=350,width=400');
|
||||
window.open(url, "searchWindow", 'status=1,scrollbars=1,toolbar=0,location=0,menubar=0,directories=0,resizable=1,height=350,width=400');
|
||||
}
|
||||
|
||||
function taskEdit_getResources() {
|
||||
|
|
@ -70,20 +70,6 @@ function taskEdit_updateResources(resources) {
|
|||
|
||||
var status = YAHOO.util.Connect.asyncRequest('GET',url,callback);
|
||||
|
||||
/*
|
||||
AjaxRequest.get({
|
||||
'url' : url,
|
||||
'onSuccess' : function(req) {
|
||||
div.innerHTML = req.responseText;
|
||||
taskEdit_doPending();
|
||||
},
|
||||
'onError' : function(req) {
|
||||
// Buggo: need better error handling
|
||||
div.innerHTML = savedInnerHTML;
|
||||
taskEdit_doPending();
|
||||
}
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
function taskEdit_doPending() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue