From 0aded7df1f6b3786fcec364051fb627d7bd73902 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 1 Apr 2009 04:39:35 +0000 Subject: [PATCH] Add missing POD to bring RichEdit up to 100% POD. --- lib/WebGUI/Asset/RichEdit.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lib/WebGUI/Asset/RichEdit.pm b/lib/WebGUI/Asset/RichEdit.pm index 40eae7a86..3258fa377 100644 --- a/lib/WebGUI/Asset/RichEdit.pm +++ b/lib/WebGUI/Asset/RichEdit.pm @@ -448,6 +448,18 @@ sub getToolbar { #------------------------------------------------------------------- + +=head2 getRichEditor ( $nameId ) + +Return the javascript needed to make the Rich Editor. + +=head3 $nameId + +The id for the rich editor, should be unique enough to be used as the id parameter +for a HTML tag. + +=cut + sub getRichEditor { my $self = shift; return '' if ($self->getValue('disableRichEditor')); @@ -582,6 +594,13 @@ sub indexContent { #------------------------------------------------------------------- + +=head2 www_edit ( ) + +Override the method from Asset.pm to change the title of the screen. + +=cut + sub www_edit { my $self = shift; return $self->session->privilege->insufficient() unless $self->canEdit;