Completed
Pull Request — master (#2051)
by
unknown
05:31
created
src/Grid/Displayers/Select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $name = $this->column->getName();
12 12
 
13 13
         $class = "grid-select-{$name}";
14
-        $resource_url= url($this->grid->resource());
14
+        $resource_url = url($this->grid->resource());
15 15
         $script = <<<EOT
16 16
 
17 17
 $('.$class').select2().on('change', function(){
Please login to merge, or discard this patch.
src/Grid/Displayers/SwitchDisplay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $name = $this->column->getName();
26 26
 
27 27
         $class = "grid-switch-{$name}";
28
-        $resource_url= url($this->grid->resource());
28
+        $resource_url = url($this->grid->resource());
29 29
         $script = <<<EOT
30 30
 
31 31
 $('.$class').bootstrapSwitch({
Please login to merge, or discard this patch.
src/Grid/Tools/CreateButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         }
29 29
 
30 30
         $new = trans('admin.new');
31
-        $resource_url= url($this->grid->resource());
31
+        $resource_url = url($this->grid->resource());
32 32
         return <<<EOT
33 33
 
34 34
 <div class="btn-group pull-right" style="margin-right: 10px">
Please login to merge, or discard this patch.
src/Grid/Displayers/SwitchGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     protected function buildSwitch($name, $label = '')
42 42
     {
43 43
         $class = "grid-switch-{$name}";
44
-        $resource_url= url($this->grid->resource());
44
+        $resource_url = url($this->grid->resource());
45 45
 
46 46
         $script = <<<EOT
47 47
 
Please login to merge, or discard this patch.