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
This commit is contained in:
Eric Yang 2015-07-30 14:16:34 +08:00
parent 0ecb80363f
commit af6bddcb2a
1 changed files with 1 additions and 1 deletions

View File

@ -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;