45 Posts
Jan
5 years ago
1
Topic

Hi All,

The submit button 'cancel' in my frontend form (Seblod latest version) does nothing.

The source code of the button seems weird so I looked at button_submit.php. 

There I found in line 199-201: if ( $task == 'cancel' ) { $click = ' history.back(1)';}. Changing this in: if ( $task == 'cancel' ) { $click = ' onclick="history.back(1)"';} made the button work again.

Greetings

Get a Book for SEBLOD
4229 Posts
Kadministrator
5 years ago
0
Level 1

You must have some older version, current version code looks otherwise https://github.com/Octopoos/SEBLOD/blob/master/plugins/cck_field/button_submit/button_submit.php#L200

Get a VIP membership