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