Commit b5d0274f authored by Yuliya Bozhko's avatar Yuliya Bozhko Committed by Yuliya Bozhko
Browse files

Fix error on page custom layout options change in Firefox (Bug #1396837)

Change-Id: Ie6c593d72dd869db59b7aba26c428ea74f14cb7b
Signed-off-by: default avatarYuliya Bozhko <>
parent 15d1f1f9
......@@ -55,12 +55,12 @@
// reverse in order to select the first option
$.each($('#selectcollayoutrow_' + currentrow + ' > option').get().reverse(), function() {
if (this.text.split('-').length != numcols) {
$(this).attr('disabled', true);
$(this).attr('selected', false);
$(this).prop('disabled', true);
$(this).prop('selected', false);
else {
$(this).attr('disabled', false);
$(this).attr('selected', true);
$(this).prop('disabled', false);
$(this).prop('selected', true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment