Commit 62855beb authored by Shakarim Sapa's avatar Shakarim Sapa

- Внесены небольшие корректировки в генерируемый html блока с управляющими элементами;

parent 6c8555a6
...@@ -95,7 +95,7 @@ class Conditions { ...@@ -95,7 +95,7 @@ class Conditions {
$html .= '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-plus"></i></button>'; $html .= '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-plus"></i></button>';
$html .= '<ul class="dropdown-menu">'; $html .= '<ul class="dropdown-menu">';
foreach(Conditions::init()->getConditions() as $id=>$condition) foreach(Conditions::init()->getConditions() as $id=>$condition)
$html .= '<li><a href="#" data-id="'.$id.'">'.$condition->getName().'</a></li>'; $html .= '<li><a href="#" data-id="'.$id.'" class="add_condition">'.$condition->getName().'</a></li>';
$html .= '</ul>'; $html .= '</ul>';
$html .= '</div>'; $html .= '</div>';
return $html; return $html;
......
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