If a rule was manipulated via cli, the rule was appended to the end if
cloned.
Somehow the reason appears to be that `name` was incorrectly assigned,
because name was the event Object this way.
Signed-off-by: Christian Korber <redacted>
* @param {string} name
* @returns {null}
*/
- handleClone(section_id, put_next, name) {
+ handleClone(section_id, put_next, ev, name) {
let config_name = this.uciconfig || this.map.config;
this.map.data.clone(config_name, this.sectiontype, section_id, put_next, name);