We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b827310 commit d791619Copy full SHA for d791619
src/main/webapp/resources/js/edit_actions.js
@@ -255,10 +255,12 @@ var Actions = function() {
255
}
256
});
257
258
- if (copiedmodel.isInterdependent()) {
259
- $(newitem).find(".matrixtable").addClass("interdependent");
260
- } else {
261
- $(newitem).find(".matrixtable").removeClass("interdependent");
+ if (this.type == "Matrix") {
+ if (copiedmodel.isInterdependent()) {
+ $(newitem).find(".matrixtable").addClass("interdependent");
+ } else {
262
+ $(newitem).find(".matrixtable").removeClass("interdependent");
263
+ }
264
265
266
_elements[copiedmodel.id()] = copiedmodel;
@@ -907,3 +909,4 @@ $(function() {
907
909
908
910
911
912
+
0 commit comments