Skip to content

Commit

Permalink
Fixes an issue when viewing the pages index
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneeconomo committed Sep 1, 2010
1 parent d5f3e24 commit fe7d940
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extension.driver.php
@@ -1,6 +1,6 @@
<?php

require_once(TOOLKIT . '/class.sectionmanager.php');
require_once(DOCROOT . '/symphony/lib/toolkit/class.sectionmanager.php');

Class extension_ZenCoding extends Extension{

Expand All @@ -9,7 +9,7 @@

public function about(){
return array('name' => 'Zen Coding',
'version' => '1.2',
'version' => '1.1.2',
'author' => array(
'name' => 'Simone Economo',
'website' => 'http://www.lineheight.net',
Expand Down Expand Up @@ -154,6 +154,8 @@ public function systemTextareas($context) {
$textarea = $xpath->query("//textarea")->item(0);
$label = $textarea->parentNode;

if (!$textarea) return;

$classes = $textarea->attributes->getNamedItem('class');
$classes->appendChild($dom->createTextNode(' zc-use_tab-true zc-syntax-xsl zc-profile-xml'));

Expand Down

0 comments on commit fe7d940

Please sign in to comment.