[silva.core.editor][Emiliano D'Alterio] Fixed right-click table ...

[email protected]
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Emiliano D'Alterio
date:      Mon Aug 19 16:55:21 2013 +0200
revision:  261:a0c9fa0ee9cb in silva.core.editor
branch:    
details:   https://hg.infrae.com/silva.core.editor?cmd=changeset;node=a0c9fa0ee9cb
modified:  src/silva/core/editor/static/plugins/silvadialog/plugin.js
added:     
removed:   
log:       Fixed right-click table dialog fields in CKEditor.


diffstat:

 src/silva/core/editor/static/plugins/silvadialog/plugin.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r aa4887c4e70d -r a0c9fa0ee9cb src/silva/core/editor/static/plugins/silvadialog/plugin.js
--- a/src/silva/core/editor/static/plugins/silvadialog/plugin.js	Fri Aug 16 17:23:29 2013 +0200
+++ b/src/silva/core/editor/static/plugins/silvadialog/plugin.js	Mon Aug 19 16:55:21 2013 +0200
@@ -14,7 +14,7 @@
                         infoTab.remove('borderColor');
                         infoTab.remove('borderColorChoose');
                     }
-                    if (dialogName == 'table') {
+                    if (dialogName == 'table' || dialogName == 'tableProperties') {
                         var advancedTab = dialogDefinition.getContents('advanced');
                         advancedTab.remove('advCSSClasses');
                         var infoTableTab = dialogDefinition.getContents('info');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.