Add an option to disable a given rich editor Asset site wide.
Added new column in table(default 0), label, hoverHelp and help field entry.
This commit is contained in:
parent
cd6759f311
commit
ac39689ddb
5 changed files with 36 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ updateTemplates();
|
|||
updateDatabaseLinksAndSQLReport();
|
||||
addWorkflow();
|
||||
ipsToCIDR();
|
||||
addDisabletoRichEditor();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -393,6 +394,12 @@ sub removeFiles {
|
|||
rmtree('../../lib/WebGUI/Asset/Wobject/IndexedSearch');
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addDisabletoRichEditor {
|
||||
print "\tUpdating Rich Editor to add master disable.\n" unless ($quiet);
|
||||
$session->db->write("alter table RichEdit add column disableRichEditor int(11) default '0'");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub ipsToCIDR {
|
||||
print "\tTranslating IP addresses to CIDR format.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue