Implemented RFE 10253 - Select DataForm HTMLArea Rich Text Editor - Provides ability to specify the Rich Editor to be used for htmlArea fields on a given DataForm Wobject
This commit is contained in:
parent
b877e8fa05
commit
b361e5db9c
4 changed files with 50 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
transactions. (Martin Kamerbeek / Oqapi )
|
||||
- Added better Survey Expression Engine validation warnings
|
||||
- added #9203: Survey Visualization
|
||||
- rfe #10253: add ability to select the htmlArea Rich Text Editor for DataForm
|
||||
- Added: United States Postal Service Shipping Driver.
|
||||
- Refactored transaction tmpl_var generation into WebGUI::Shop::Transaction. ( Martin Kamerbeek / Oqapi )
|
||||
- rfe #9906: Inbox Filtering
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ fixDefaultPostReceived($session);
|
|||
addEuVatDbColumns( $session );
|
||||
addShippingDrivers( $session );
|
||||
addTransactionTaxColumns( $session );
|
||||
addDataFormColumns($session);
|
||||
addListingsCacheTimeoutToMatrix( $session );
|
||||
addSurveyFeedbackTemplateColumn( $session );
|
||||
installCopySender($session);
|
||||
|
|
@ -142,6 +143,19 @@ sub addTransactionTaxColumns {
|
|||
|
||||
}
|
||||
|
||||
sub addDataFormColumns {
|
||||
my $session = shift;
|
||||
print "\tAdding column to store htmlArea Rich Editor in DataForm Table ..." unless $quiet;
|
||||
|
||||
my $sth = $session->db->read( 'show columns in DataForm where field = "htmlAreaRichEditor"' );
|
||||
if ($sth->rows() == 0) { # only add column if it is not already there
|
||||
$session->db->write( 'alter TABLE `DataForm` add column `htmlAreaRichEditor` varchar(22) default "**Use_Default_Editor**"' );
|
||||
}
|
||||
|
||||
print "Done\n" unless $quiet;
|
||||
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addSurveyFeedbackTemplateColumn {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue