Skip to content
Permalink
Browse files

10384 FIX IE11 incompatibility: Fix reordering view painters

Change-Id: I07486805d897c5e3efc79de4251ef54d2989fbaf
  • Loading branch information
LarsMichelsen committed Nov 5, 2019
1 parent 9a88f6e commit ad054ec8af1814eb8f69608ed91e4da4b8d9cb97
Showing with 21 additions and 2 deletions.
  1. +12 −0 .werks/10384
  2. +5 −0 package-lock.json
  3. +1 −0 package.json
  4. +1 −0 web/htdocs/js/modules/forms.js
  5. +2 −2 web/htdocs/js/modules/valuespecs.js
@@ -0,0 +1,12 @@
Title: IE11 incompatibility: Fix reordering view painters
Class: fix
Compatible: compat
Component: multisite
Date: 1572969050
Edition: cre
Knowledge: undoc
Level: 1
State: unknown
Version: 1.7.0i1


Some generated files are not rendered by default. Learn more.

@@ -48,6 +48,7 @@
"core-js": "^3.2.1",
"d3": "^5.12.0",
"d3-flextree": "^2.1.1",
"element-closest-polyfill": "^1.0.0",
"jquery": "^3.4.1",
"select2": "^4.0.10"
}
@@ -25,6 +25,7 @@
import $ from "jquery";
import "select2";
import Tagify from "@yaireo/tagify";
import "element-closest-polyfill";

import * as utils from "utils";
import * as ajax from "ajax";
@@ -626,7 +626,7 @@ export function listofmultiple_add(varprefix, choice_page_name, page_request_var

// Put in a line break following the table if the added row is the first
if (tbody.childNodes.length == 1)
table.after(document.createElement("br"));
table.parentNode.insertBefore(document.createElement("br"), table.nextSibling);
}
});
}
@@ -676,7 +676,7 @@ export function listofmultiple_init(varprefix) {
listofmultiple_disable_selected_options(varprefix);
// Put in a line break following the table if it's not empty
if (tbody.childNodes.length >= 1)
table.after(document.createElement("br"));
table.parentNode.insertBefore(document.createElement("br"), table.nextSibling);
}

// The <option> elements in the <select> field of the currently choosen

0 comments on commit ad054ec

Please sign in to comment.
You can’t perform that action at this time.