Skip to content

Commit

Permalink
Merge branch 'dev' of git@github.com:deizel/infinitas into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
deizel committed Jan 4, 2010
2 parents 90c41c1 + b3f9a03 commit 17cab08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -7,4 +7,5 @@ libs/cronjobs
infinitas.PHPEditProject
.project
.buildpath
.settings/*
.settings/*
.vimrc.custom
4 changes: 3 additions & 1 deletion infinitas/core/views/helpers/wysiwyg.php
Expand Up @@ -43,11 +43,13 @@ function fckStarter( $id = null, $toolbar = 'Basic' )
$did .= ucfirst( $v );
}

$path = $this->webroot.'js/';

return <<<FCK_CODE
<script type="text/javascript">
fckLoader_$did = function () {
var bFCKeditor_$did = new FCKeditor('$did');
bFCKeditor_$did.BasePath = '/js/';
bFCKeditor_$did.BasePath = $path;
bFCKeditor_$did.ToolbarSet = '$toolbar';
bFCKeditor_$did.ReplaceTextarea();
}
Expand Down

0 comments on commit 17cab08

Please sign in to comment.