Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(meta): remove unused radio button in meta configuration #7992

Merged
merged 2 commits into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@
</tr>
</table>
<div id="validForm">
{if $o == "as" || $o == "cs"}
<p>{$form.action.html}</p>
<p>{$form.submitC.html}{$form.submitA.html}&nbsp;&nbsp;&nbsp;{$form.reset.html}</p>
{else if $o == "ws"}
<p>{$form.change.html}</p>
{/if}
<p>{$form.submitC.html}{$form.submitA.html}&nbsp;&nbsp;&nbsp;{$form.reset.html}</p>
</div>
{$form.hidden}
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
$form->addElement('header', 'title', _("Modify a Meta Service indicator"));
}

/*
/*
* Indicator basic information
*/
$redirect = $form->addElement('hidden', 'o');
Expand All @@ -150,8 +150,6 @@
$form->addElement('textarea', 'msr_comment', _("Comments"), $attrsTextarea);

$tab = array();
sc979 marked this conversation as resolved.
Show resolved Hide resolved
sc979 marked this conversation as resolved.
Show resolved Hide resolved
sc979 marked this conversation as resolved.
Show resolved Hide resolved
$tab[] = $form->createElement('radio', 'action', null, _("List"), '1');
$tab[] = $form->createElement('radio', 'action', null, _("Form"), '0');
$form->addGroup($tab, 'action', _("Post Validation"), '&nbsp;');
$form->setDefaults(array('action' => '1'));

Expand Down Expand Up @@ -197,7 +195,6 @@ function checkMetric()
$valid = true;
}

$action = $form->getSubmitValue("action");
if ($valid) {
require_once($path . "listMetric.php");
} else {
Expand Down