Skip to content

Commit

Permalink
Item8527: forgotten to add a template
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/EditChapterPlugin@6337 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Feb 15, 2010
1 parent 18b4996 commit 3ba4109
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/EditChapterPlugin.pm
Expand Up @@ -25,7 +25,7 @@ use vars qw(
);

$VERSION = '$Rev$';
$RELEASE = '2.11';
$RELEASE = '2.12';
$SHORTDESCRIPTION = 'An easy sectional edit facility';

###############################################################################
Expand Down
1 change: 1 addition & 0 deletions lib/Foswiki/Plugins/EditChapterPlugin/MANIFEST
Expand Up @@ -13,4 +13,5 @@ pub/System/EditChapterPlugin/ueb.png 0644
pub/System/EditChapterPlugin/uweb-g.gif 0644
pub/System/EditChapterPlugin/wikiringlogo40x40.png 0644
templates/edit.chapter.tmpl 0644
templates/editjavascript.chapter.tmpl 0644
templates/edittoolbar.chapter.tmpl 0644
17 changes: 17 additions & 0 deletions templates/editjavascript.chapter.tmpl
@@ -0,0 +1,17 @@
%TMPL:INCLUDE{"editjavascript"}%<!-- template: editjavascript.chapter.tmpl -->
%TMPL:DEF{"javascript"}%%TMPL:P{"defaultjavascript"}%%TMPL:P{"editjavascript"}%%TMPL:P{"chapterjavascript"}%%TMPL:END%
%TMPL:DEF{"chapterjavascript"}%<!-- chapterjavascript -->
%ADDTOZONE{"body"
tag="EDITJAVASCRIPT::INIT"
text="
<script type='text/javascript'>
/* to hook into patternskin */
jQuery(function($) {
$('.patternActionButtons input').click(function() {
beforeSubmitHandler();
});
});
</script>"
requires="JQUERYPLUGIN"
}%<!-- //chapterjavascript -->%TMPL:END%

0 comments on commit 3ba4109

Please sign in to comment.