From af6bddcb2ac27e02e2eb2eacfaeca9e442a8b87b Mon Sep 17 00:00:00 2001 From: Eric Yang Date: Thu, 30 Jul 2015 14:16:34 +0800 Subject: [PATCH] CSS get None when error in inline_editing I modify status-icon. Because the $icons is None. But this line 'background-image: url($icons);' will have 404. So let it to this line '@if $icons != None { background-image: url($icons); }'. Closes-Bug: #1479637 Change-Id: I47000c80653f051fb27fb6430fe191d9b449ee42 --- .../static/dashboard/scss/components/_inline_edit.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/static/dashboard/scss/components/_inline_edit.scss b/openstack_dashboard/static/dashboard/scss/components/_inline_edit.scss index ac490cc405..a44eaa7fd8 100644 --- a/openstack_dashboard/static/dashboard/scss/components/_inline_edit.scss +++ b/openstack_dashboard/static/dashboard/scss/components/_inline_edit.scss @@ -41,7 +41,7 @@ td.inline_edit_available div.table_cell_wrapper .table_cell_action button.ajax-i margin-top: 0px; *margin-right: .3em; line-height: 14px; - background-image: url($icons); + @if $icons != None { background-image: url($icons); } background-position: $x $y; background-repeat: no-repeat; position: absolute;