TinyMCE Bridge Validation Error

8 views
Skip to first unread message

andrea

unread,
Aug 11, 2009, 11:33:18 AM8/11/09
to ActiveScaffold : Ruby on Rails plugin
Hi, i have this strange behaviour with ActiveScaffold (last commit on
git://github.com/activescaffold/active_scaffold.git) and TinyMCE (last
commit on git://github.com/kete/tiny_mce.git) when rails validate
Object attributes.

class ProductsController < ApplicationController
uses_tiny_mce

active_scaffold :product do |config|
.....
config.columns[:description].form_ui = :text_editor
.....
end
end


1) when create a new Product i have the correct TinyMCE advanced text
editor.
2) when click on create (with validations error on some attributes) i
have the new rendered from with validations errors, but now the
TinyMCE text editor is a normal textarea.
3) when click on create for the second time i have the correct TinyMCE
advanced text editor, but the button (x) for close form disappear!

Thanks for help

Sergio Cambra .:: entreCables S.L. ::.

unread,
Aug 14, 2009, 4:19:01 AM8/14/09
to actives...@googlegroups.com
It should be fixed now, thanks

>
>
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

Reply all
Reply to author
Forward
0 new messages