Bug #1706

Avoid server error when ajax requestis cancelled

Added by Giacomo Sanchietti over 8 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:03/01/2013
Priority:NormalDue date:03/01/2013
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Security class: Resolution:
Affected version:NSA1 NEEDINFO:

Description

The ajaxMessage function in jquery.nethgui.base.js raises an exception and an annoying javascript alert.

Avoid the error catching the cancelled ajax request and emit only a debug message.

Associated revisions

Revision c9714edf
Added by Giacomo Sanchietti over 8 years ago

jquery.nethgui.base.js: handle cancelled ajax requests. Refs #1706

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

Fixed.

#2 Updated by Davide Principi over 8 years ago

  • Assignee set to Giacomo Sanchietti

#4 Updated by Davide Principi over 8 years ago

  • Affected version set to NSA1

#5 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#6 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

#7 Updated by Davide Principi over 7 years ago

  • Target version deleted (v6.4-alpha2)

Also available in: Atom PDF