[otrs-cvs] otrs/var/httpd/htdocs/js Core.AJAX.js, 1.38, 1.39 Core.Agent.Admin.ProcessManagement.js, 1.78, 1.79 Core.Agent.Admin.ProcessManagement.Canvas.js, 1.49, 1.50 Core.App.js, 1.12, 1.13
"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-serv10781/var/httpd/htdocs/js
Modified Files:
Core.AJAX.js Core.Agent.Admin.ProcessManagement.js
Core.Agent.Admin.ProcessManagement.Canvas.js Core.App.js
Log Message:
Fixed JSLint warnings.
Author: mg
Index: Core.AJAX.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.AJAX.js,v
retrieving revision 1.38
retrieving revision 1.39
diff -2 -u -d -r1.38 -r1.39
--- Core.AJAX.js 7 Jan 2013 10:18:49 -0000 1.38
+++ Core.AJAX.js 14 Feb 2013 10:18:08 -0000 1.39
@@ -254,5 +254,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
if (!Response) {
@@ -278,5 +278,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
if (Status !== 'abort') {
@@ -313,5 +313,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
if (!Response) {
@@ -337,5 +337,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
if (Status !== 'abort') {
@@ -371,5 +371,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
// call the callback
@@ -387,5 +387,5 @@
if (RedirectAfterSessionTimeOut(XHRObject)) {
return false;
- };
+ }
// We sometimes manually abort an ajax request (e.g. in autocompletion). This should not throw a global error message
Author: mg
Index: Core.Agent.Admin.ProcessManagement.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.Agent.Admin.ProcessManagement.js,v
retrieving revision 1.78
retrieving revision 1.79
diff -2 -u -d -r1.78 -r1.79
--- Core.Agent.Admin.ProcessManagement.js 14 Feb 2013 09:19:15 -0000 1.78
+++ Core.Agent.Admin.ProcessManagement.js 14 Feb 2013 10:18:08 -0000 1.79
@@ -691,5 +691,5 @@
$.each(TargetNS.ProcessData.Process[ProcessEntityID].Path, function (Activity, ActivityData) {
$.each(ActivityData, function (Transition, TransitionData) {
- if (typeof TransitionData['ActivityEntityID'] === 'undefined') {
+ if (typeof TransitionData.ActivityEntityID === 'undefined') {
delete ActivityData[Transition];
}
Author: mg
Index: Core.Agent.Admin.ProcessManagement.Canvas.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.Agent.Admin.ProcessManagement.Canvas.js,v
retrieving revision 1.49
retrieving revision 1.50
diff -2 -u -d -r1.49 -r1.50
--- Core.Agent.Admin.ProcessManagement.Canvas.js 14 Feb 2013 09:33:04 -0000 1.49
+++ Core.Agent.Admin.ProcessManagement.Canvas.js 14 Feb 2013 10:18:08 -0000 1.50
@@ -171,5 +171,5 @@
$EntityBox = $('#' + EntityID);
EntityNameHeight = $EntityBox.find('span').height();
- $EntityBox.find('span').css('margin-top', parseInt((ActivityBoxHeight - EntityNameHeight) / 2), 10);
+ $EntityBox.find('span').css('margin-top', parseInt( (ActivityBoxHeight - EntityNameHeight) / 2, 10) );
// make the activity able to accept transitions
Author: mg
Index: Core.App.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.App.js,v
retrieving revision 1.12
retrieving revision 1.13
diff -2 -u -d -r1.12 -r1.13
--- Core.App.js 17 Dec 2012 10:46:20 -0000 1.12
+++ Core.App.js 14 Feb 2013 10:18:08 -0000 1.13
@@ -1,5 +1,5 @@
// --
// Core.App.js - provides the application functions
-// Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+// Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
// --
// $Id$
@@ -120,5 +120,5 @@
TargetNS.Publish = function (Topic, Args) {
$.publish(Topic, Args);
- }
+ };
/**
@@ -134,5 +134,5 @@
TargetNS.Subscribe = function (Topic, Callback) {
return $.subscribe(Topic, Callback);
- }
+ };
/**
@@ -143,5 +143,5 @@
TargetNS.Unsubscribe = function (Handle) {
$.unsubscribe(Handle);
- }
+ };
return TargetNS;
---------------------------------------------------------------------
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