[otrs-cvs] otrs/var/httpd/htdocs/js Core.AJAX.js,1.35,1.36
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/var/httpd/htdocs/js
In directory lancelot:/tmp/cvs-serv20799/var/httpd/htdocs/js
Modified Files:
Core.AJAX.js
Log Message:
Fixed parameter for pubsub integration.
Author: mn
Index: Core.AJAX.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.AJAX.js,v
retrieving revision 1.35
retrieving revision 1.36
diff -2 -u -d -r1.35 -r1.36
--- Core.AJAX.js 17 Dec 2012 10:46:20 -0000 1.35
+++ Core.AJAX.js 18 Dec 2012 09:12:59 -0000 1.36
@@ -276,5 +276,5 @@
*/
TargetNS.ContentUpdate = function ($ElementToUpdate, URL, Callback) {
- var QueryString, QueryIndex = URL.indexOf("?");
+ var QueryString, QueryIndex = URL.indexOf("?"), GlobalResponse;
if (QueryIndex >= 0) {
@@ -295,4 +295,5 @@
}
else if ($ElementToUpdate && isJQueryObject($ElementToUpdate) && $ElementToUpdate.length) {
+ GlobalResponse = Response;
$ElementToUpdate.html(Response);
}
@@ -306,5 +307,5 @@
Callback();
}
- Core.App.Publish('Event.AJAX.ContentUpdate.Callback', [Response]);
+ Core.App.Publish('Event.AJAX.ContentUpdate.Callback', [GlobalResponse]);
},
error: function () {
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log