Skip to content

Commit

Permalink
Item356: Fixing JSCalender Fixing JSCalender ( wrong addHead calls in…
Browse files Browse the repository at this point in the history
…clude "twiki.js" instead of foswiki.js

Also Fixed EditTable and DateFiledPlugin

git-svn-id: http://svn.foswiki.org/trunk@1086 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
EugenMayer authored and EugenMayer committed Nov 30, 2008
1 parent 86de2b9 commit 798a8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EditTablePlugin/lib/Foswiki/Plugins/EditTablePlugin/Core.pm
Expand Up @@ -139,7 +139,7 @@ sub process {
---+++ processText( $doSave, $saveTableNr, $doSaveQuiet, $text, $topic, $web )
Process the text line by line.
When a EditTablePlugin table is encountered, its contents is rendered according to the view:
When a EditTablePlugin table is encountered, its contents is rendered according to the view:
* View mode - default
* Edit mode - when an Edit button is clicked, renders the rest of the table in edit mode
* Save mode - when called from a Save button: calls processText again, only renders the selected table number, then saves the topic text
Expand Down Expand Up @@ -765,7 +765,7 @@ sub handleTableStart {
if ($doEdit) {
require Foswiki::Contrib::JSCalendarContrib;
unless ($@) {
Foswiki::Contrib::JSCalendarContrib::addHEAD('twiki');
Foswiki::Contrib::JSCalendarContrib::addHEAD('foswiki');
}
}
$text .= "$preSp<noautolink>\n" if $doEdit;
Expand Down

0 comments on commit 798a8de

Please sign in to comment.