diff --git a/etemplate/js/et2_dataview_view_partitionContainerNodes.js b/etemplate/js/et2_dataview_view_partitionContainerNodes.js index 3e5fce8208..2e2a34e1f4 100644 --- a/etemplate/js/et2_dataview_view_partitionContainerNodes.js +++ b/etemplate/js/et2_dataview_view_partitionContainerNodes.js @@ -227,7 +227,7 @@ var et2_dataview_partitionSpacerNode = et2_dataview_partitionContainerNode.exten getAvgHeightData: function(_data) { // Do nothing here, as the spacers should not be inside the average // height statistic. - }, + } }); diff --git a/etemplate/js/et2_widget_date.js b/etemplate/js/et2_widget_date.js index c68e7370ea..c89942b1f8 100644 --- a/etemplate/js/et2_widget_date.js +++ b/etemplate/js/et2_widget_date.js @@ -519,7 +519,7 @@ var et2_date_ro = et2_valueWidget.extend({ 'd': 'days', 'H': 'hours', 'i': 'minutes', - 's': 'seconds', + 's': 'seconds' }; var unit2s = { 'Y': 31536000, @@ -527,7 +527,7 @@ var et2_date_ro = et2_valueWidget.extend({ 'd': 86400, 'H': 3600, 'i': 60, - 's': 1, + 's': 1 }; var d = new Date(); var diff = Math.round(d.valueOf() / 1000) - Math.round(this.date.valueOf()/1000); diff --git a/etemplate/js/et2_widget_image.js b/etemplate/js/et2_widget_image.js index 255bb89ed1..1fce14b626 100644 --- a/etemplate/js/et2_widget_image.js +++ b/etemplate/js/et2_widget_image.js @@ -50,9 +50,9 @@ var et2_image = et2_baseWidget.extend({ this.node = $j(document.createElement("a")); this.image.appendTo(this.node); } - if(this.options.class) + if(this.options["class"]) { - this.node.addClass(this.options.class); + this.node.addClass(this.options["class"]); } this.setDOMNode(this.node[0]); },