Project

General

Profile

Actions

Bug #1528

closed

Cancel button on pop-up fire an AJAX request and sometimes lag

Added by François ARMAND over 12 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
4
Assignee:
-
Category:
Architecture - Code maintenance
Target version:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
31
Name check:
Fix check:
Regression:

Description

For (all ?) pop-up used to create items, like "configuration rule creation pop-up", the cancel button should only close the pop-up, a pure JS, client-side event. But currently, they fire an Ajax request, that does nothing (safe spending time one server and leading to some client side lag).

=> replace SHtml.ajaxButton("Cancel", { () => closePopup() }) by something like: <button onclick="closePopup();return false;">Cancel</button>

Actions #1

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 16 to 19
Actions #2

Updated by François ARMAND over 12 years ago

  • Assignee set to François ARMAND
Actions #3

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 19 to 21
Actions #4

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 21 to 23
Actions #5

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 23 to 18
Actions #6

Updated by François ARMAND over 12 years ago

  • Target version changed from 18 to 24
Actions #7

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 24 to Ideas (not version specific)
Actions #8

Updated by François ARMAND over 11 years ago

  • Assignee deleted (François ARMAND)
Actions #9

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from New to 8
  • Assignee set to Nicolas CHARLES
  • Target version changed from Ideas (not version specific) to 2.10.8
Actions #10

Updated by Nicolas CHARLES over 9 years ago

Hum, i can prevent having a post+get, to have only an empty post, but i'm don't know how to do better than that...

Actions #11

Updated by Nicolas CHARLES over 9 years ago

even hardcoding the button in the template and removing everything on scala will still trigger a post, as it is inside a form that we close
i'm not sure which solution i should use...

Actions #12

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.8 to 2.10.9
Actions #13

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #14

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #15

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #16

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #17

Updated by Nicolas CHARLES about 9 years ago

  • Assignee changed from Nicolas CHARLES to François ARMAND

i'm reassigning this ticket to you Francois, as I couldn't fix it

Actions #18

Updated by Benoît PECCATTE about 9 years ago

  • Status changed from 8 to New
Actions #19

Updated by François ARMAND about 9 years ago

  • Reproduced set to Yes
Actions #20

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #21

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #22

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #23

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #24

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #25

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #26

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #27

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #28

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #29

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #30

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #31

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #32

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #33

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #34

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.24 to 308
Actions #35

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 308 to 3.1.14
Actions #36

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #37

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #38

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #39

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #40

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #41

Updated by François ARMAND about 7 years ago

  • Subject changed from Cancel button on pop-up fire an AJAX request to Cancel button on pop-up fire an AJAX request and sometimes lag
  • Description updated (diff)
  • Severity set to Trivial - no functional impact | cosmetic
  • User visibility set to Getting started - demo | first install | level 1 Techniques
Actions #42

Updated by Benoît PECCATTE about 7 years ago

  • Priority set to 31
Actions #43

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #44

Updated by Jonathan CLARKE almost 7 years ago

  • Assignee deleted (François ARMAND)
Actions #45

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #46

Updated by Raphael GAUTHIER almost 7 years ago

  • Status changed from New to Rejected

This bug doesn't appear anymore.
Rejecting

Actions

Also available in: Atom PDF