| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | public function getSelectorField(EditableCustomRule $rule, $forOnLoad = false) |
||
| 52 | { |
||
| 53 | // We only want to trigger on load once for the radio group - hence we focus on the first option only. |
||
| 54 | $first = $forOnLoad ? ':first' : ''; |
||
| 55 | return "$(\"input[name='{$this->Name}']{$first}\")"; |
||
| 56 | } |
||
| 57 | |||
| 63 |