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 13 years ago. Updated over 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

Also available in: Atom PDF