mirror of https://github.com/MISP/MISP
fix: [update] Function name conflict introduced by the merge + UI
Improvementspull/5462/head
parent
a1fdea754d
commit
5ff9c29fb8
|
@ -244,7 +244,7 @@ class AppModel extends Model
|
|||
$this->__addServerPriority();
|
||||
break;
|
||||
case 46:
|
||||
$dbUpdateSuccess = $this->updateDatabase('seenOnAttributeAndObject', true);
|
||||
$dbUpdateSuccess = $this->updateDatabase('seenOnAttributeAndObject');
|
||||
break;
|
||||
default:
|
||||
$dbUpdateSuccess = $this->updateDatabase($command);
|
||||
|
@ -2007,7 +2007,7 @@ class AppModel extends Model
|
|||
|
||||
public function getLockRemainingTime()
|
||||
{
|
||||
$lockState = $this->__getUpdateLockState();
|
||||
$lockState = $this->getUpdateLockState();
|
||||
if ($lockState !== false && $lockState !== '') {
|
||||
// if lock is old, still allows the update
|
||||
// This can be useful if the update process crashes
|
||||
|
|
|
@ -161,6 +161,6 @@
|
|||
'child' => $attrKey == $lastElement ? 'last' : true
|
||||
));
|
||||
}
|
||||
echo '<tr><td style="position:absolute"><span class="fa fa-plus-circle objectAddField" title="' . __('Add an Object Attribute') .'" onclick="popoverPopup(this, ' . h($object['id']) . ', \'objects\', \'quickFetchTemplateWithValidObjectAttributes\')"></span></td></tr>';
|
||||
echo '<tr class="objectAddFieldTr"><td><span class="fa fa-plus-circle objectAddField" title="' . __('Add an Object Attribute') .'" onclick="popoverPopup(this, ' . h($object['id']) . ', \'objects\', \'quickFetchTemplateWithValidObjectAttributes\')"></span></td></tr>';
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -305,6 +305,11 @@ td.highlight3 {
|
|||
|
||||
}
|
||||
|
||||
table.table-striped > tbody > tr.objectAddFieldTr > td {
|
||||
position: absolute;
|
||||
background-color: #ffffff00;
|
||||
}
|
||||
|
||||
table.table-striped > tbody > tr > td > span.objectAddField {
|
||||
padding: 0px;
|
||||
line-height: normal;
|
||||
|
|
Loading…
Reference in New Issue