Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
smart-sl...
/
Nextend
/
Framewor...
/
Form
/
Element
/
Button
•
File:
ButtonRecordViewer.php
•
Content:
<?php namespace Nextend\Framework\Form\Element\Button; use Nextend\Framework\Asset\Js\Js; use Nextend\Framework\Form\Element\Button; class ButtonRecordViewer extends Button { public function __construct($insertAt, $name = '', $parameters = array()) { parent::__construct($insertAt, $name, '', n2_('View records'), $parameters); $this->addClass('n2_field_button--blue'); } protected function fetchElement() { $ajaxRecordUrl = $this->getForm() ->createAjaxUrl(array( 'generator/recordstable' )); Js::addInline('new _N2.FieldRecordViewer(' . json_encode($this->fieldID) . ',' . json_encode($ajaxRecordUrl) . ');'); return parent::fetchElement(); } }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List