Cacti / plugin_thold

Thold Plugin for Cacti
GNU General Public License v2.0
68 stars 63 forks source link

Incorrect "raise message" behavior when thold save fails #667

Closed xmacan closed 5 months ago

xmacan commented 5 months ago

When user try save incorrect threshold (set low and high thold the same value), after save blank page is displayed. Only after click to any page user get message: Sorry, we could not process your last action.

Impossible thresholds: 'High Threshold' smaller than or equal to 'Low Threshold' RECORD NOT UPDATED!

Actual develop branch

TheWitness commented 5 months ago

I have just done two new features to handle this more precisely. Please test. Also, look for JavaScript errors if you still receive failures.

xmacan commented 5 months ago

fixed, works fine now