[phpldapadmin] [ phpldapadmin-Bugs-3370546 ] AjaxEnabled create and delete entry fails on IE9
"SourceForge.net" <[email protected]> Tue, 19 Jul 2011 03:02:04 +0800
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3370546, was opened at 2011-07-19 03:02
Message generated for change (Tracker Item Submitted) made by chinadoug
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3370546&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Doug Campbell (chinadoug)
Assigned to: Nobody/Anonymous (nobody)
Summary: AjaxEnabled create and delete entry fails on IE9
Initial Comment:
After installing phpLDAPadmin 1.2.1.1 today, I tried creating/deleting a directory entry in IE9 and FF4. IE9 would never perform the task, it just would say Creating or Deleting object but never finish. FF4 worked flawlessly.
After a little research I found the problem to be in the ajSUBMIT function of htdocs/js/ajax_functions.js
The line:
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
should be moved before the section that displays the progress message. I think this is needed because the progress message destroys the information that the getParameters(obj.parentNode) function needs.
The avSUBMIT() function should looks as follows:
function ajSUBMIT(div,obj,display) {
var pageDiv = getDiv(div);
window.scrollTo(0,95);
makeHttpRequest('cmd.php',getParameters(obj.parentNode)+'meth=ajax','POST','alertAJ','cancelAJ',div);
if (pageDiv)
includeHTML(pageDiv,'<img src="images/ajax-progress.gif"><br><small>'+display+'...</small>');
else
return true;
return false;
}
I have tested this fix on IE9 and now everything works as it should.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3370546&group_id=61828
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/