Completed
Pull Request — master (#62)
by Jason
03:21
created
code/blocks/AccordionBlock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@
 block discarded – undo
67 67
     public function init()
68 68
     {
69 69
         $class = $this->AccordionClass();
70
-        Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/jquery-ui.js');
70
+        Requirements::javascript(THIRDPARTY_DIR.'/jquery-ui/jquery-ui.js');
71 71
         Requirements::customScript('
72 72
             $(function() {
73
-                $( ".' . $class . '" ).accordion({
73
+                $( ".' . $class.'" ).accordion({
74 74
                     header: ".accord-header",
75 75
                     collapsible: true, heightStyle: "content"
76 76
                 });
Please login to merge, or discard this patch.
code/blocks/CustomerServiceBlock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     {
36 36
         $fields = parent::getCMSFields();
37 37
 
38
-        $self =& $this;
38
+        $self = & $this;
39 39
 
40
-        $this->beforeUpdateCMSFields(function ($fields) use ($self) {
40
+        $this->beforeUpdateCMSFields(function($fields) use ($self) {
41 41
             $fields->dataFieldByName('Title')
42 42
                 ->setTitle('Name');
43 43
 
Please login to merge, or discard this patch.
code/blocks/EmbedBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * @return \SilverStripe\Forms\FieldList
34 34
      */
35
-    public function getCMSFields(){
35
+    public function getCMSFields() {
36 36
         $fields = parent::getCMSFields();
37 37
 
38 38
         $fields->removeByName([
Please login to merge, or discard this patch.
code/blocks/CallToActionBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
37
-        $this->beforeUpdateCMSFields(function ($fields) {
37
+        $this->beforeUpdateCMSFields(function($fields) {
38 38
 
39 39
             /* // todo readd once Linkable is SS4 compatible
40 40
             $fields->addFieldToTab(
Please login to merge, or discard this patch.
code/objects/PageSectionObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function getCMSFields()
76 76
     {
77
-        $this->beforeUpdateCMSFields(function ($fields) {
77
+        $this->beforeUpdateCMSFields(function($fields) {
78 78
 
79 79
             /*
80 80
             $fields->addFieldToTab(
Please login to merge, or discard this patch.
code/objects/PromoObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
37
-        $this->beforeUpdateCMSFields(function ($fields) {
37
+        $this->beforeUpdateCMSFields(function($fields) {
38 38
 
39 39
             /* // todo readd once Linkable is SS4 compatible
40 40
             $fields->addFieldToTab(
Please login to merge, or discard this patch.