[Rt-commit] rt branch, lcore, updated. ebe31ab64609019a51120f8f0e9e31b219739087

clkao at bestpractical.com clkao at bestpractical.com
Thu Sep 17 22:43:14 EDT 2009


The branch, lcore has been updated
       via  ebe31ab64609019a51120f8f0e9e31b219739087 (commit)
       via  3e941000773801018c26e067692f7a90701c8b19 (commit)
       via  9da216bb3b2e6ea6c4d1fbb33009faebb1c46693 (commit)
       via  dab10faf3b520fd0a5a102d744b4ff2686f8893c (commit)
       via  4a6678acbffd41082352bf3d88029a450ef84bdf (commit)
       via  8a0ef214555637add1457318642a8eecaada898a (commit)
      from  2cfeb5b5e9ac509dfc1d281bd9d09194fc3665f6 (commit)

Summary of changes:
 etc/config.yml                                     |    1 +
 lib/RT.pm                                          |    2 +-
 lib/RT/View/Admin/Rules.pm                         |   22 +
 lib/RT/View/RuleBuilder.pm                         |   12 +
 share/html/Elements/HeaderJavascript               |   23 +-
 share/html/Elements/MessageBox                     |    2 +-
 .../editor/_source/classes/fckcontextmenu.js       |  223 ---
 .../editor/_source/classes/fckdataprocessor.js     |  119 --
 .../_source/classes/fckdocumentfragment_gecko.js   |   53 -
 .../_source/classes/fckdocumentfragment_ie.js      |   58 -
 .../editor/_source/classes/fckdomrange.js          |  935 ------------
 .../editor/_source/classes/fckdomrange_gecko.js    |  104 --
 .../editor/_source/classes/fckdomrange_ie.js       |  199 ---
 .../editor/_source/classes/fckdomrangeiterator.js  |  327 -----
 .../editor/_source/classes/fckeditingarea.js       |  368 -----
 .../editor/_source/classes/fckelementpath.js       |   89 --
 .../editor/_source/classes/fckenterkey.js          |  688 ---------
 .../FCKeditor/editor/_source/classes/fckevents.js  |   71 -
 .../editor/_source/classes/fckhtmliterator.js      |  142 --
 .../FCKeditor/editor/_source/classes/fckicon.js    |  103 --
 .../editor/_source/classes/fckiecleanup.js         |   68 -
 .../editor/_source/classes/fckimagepreloader.js    |   64 -
 .../editor/_source/classes/fckkeystrokehandler.js  |  141 --
 .../editor/_source/classes/fckmenublock.js         |  153 --
 .../editor/_source/classes/fckmenublockpanel.js    |   54 -
 .../editor/_source/classes/fckmenuitem.js          |  161 ---
 .../FCKeditor/editor/_source/classes/fckpanel.js   |  386 -----
 .../FCKeditor/editor/_source/classes/fckplugin.js  |   56 -
 .../editor/_source/classes/fckspecialcombo.js      |  376 -----
 .../FCKeditor/editor/_source/classes/fckstyle.js   | 1500 --------------------
 .../FCKeditor/editor/_source/classes/fcktoolbar.js |  103 --
 .../_source/classes/fcktoolbarbreak_gecko.js       |   36 -
 .../editor/_source/classes/fcktoolbarbreak_ie.js   |   38 -
 .../editor/_source/classes/fcktoolbarbutton.js     |   81 --
 .../editor/_source/classes/fcktoolbarbuttonui.js   |  198 ---
 .../_source/classes/fcktoolbarfontformatcombo.js   |  139 --
 .../editor/_source/classes/fcktoolbarfontscombo.js |   98 --
 .../_source/classes/fcktoolbarfontsizecombo.js     |   76 -
 .../_source/classes/fcktoolbarpanelbutton.js       |  103 --
 .../_source/classes/fcktoolbarspecialcombo.js      |  146 --
 .../editor/_source/classes/fcktoolbarstylecombo.js |  200 ---
 .../editor/_source/classes/fckw3crange.js          |  451 ------
 .../FCKeditor/editor/_source/classes/fckxml.js     |  108 --
 .../editor/_source/classes/fckxml_gecko.js         |  106 --
 .../FCKeditor/editor/_source/classes/fckxml_ie.js  |   93 --
 .../_source/commandclasses/fck_othercommands.js    |  634 ---------
 .../_source/commandclasses/fckblockquotecommand.js |  250 ----
 .../_source/commandclasses/fckcorestylecommand.js  |   61 -
 .../editor/_source/commandclasses/fckfitwindow.js  |  190 ---
 .../_source/commandclasses/fckindentcommands.js    |  282 ----
 .../_source/commandclasses/fckjustifycommands.js   |  173 ---
 .../_source/commandclasses/fcklistcommands.js      |  382 -----
 .../_source/commandclasses/fcknamedcommand.js      |   39 -
 .../commandclasses/fckpasteplaintextcommand.js     |   40 -
 .../_source/commandclasses/fckpastewordcommand.js  |   40 -
 .../commandclasses/fckremoveformatcommand.js       |   45 -
 .../editor/_source/commandclasses/fckshowblocks.js |   91 --
 .../commandclasses/fckspellcheckcommand_gecko.js   |   41 -
 .../commandclasses/fckspellcheckcommand_ie.js      |   69 -
 .../_source/commandclasses/fckstylecommand.js      |   60 -
 .../_source/commandclasses/fcktablecommand.js      |  106 --
 .../_source/commandclasses/fcktextcolorcommand.js  |  201 ---
 .../FCKeditor/editor/_source/fckconstants.js       |   56 -
 .../FCKeditor/editor/_source/fckeditorapi.js       |  178 ---
 .../editor/_source/fckjscoreextensions.js          |  166 ---
 .../FCKeditor/editor/_source/fckscriptloader.js    |  122 --
 .../FCKeditor/editor/_source/internals/fck.js      | 1252 ----------------
 .../editor/_source/internals/fck_contextmenu.js    |  342 -----
 .../editor/_source/internals/fck_gecko.js          |  493 -------
 .../FCKeditor/editor/_source/internals/fck_ie.js   |  456 ------
 .../editor/_source/internals/fckbrowserinfo.js     |   61 -
 .../editor/_source/internals/fckcodeformatter.js   |  100 --
 .../editor/_source/internals/fckcommands.js        |  172 ---
 .../editor/_source/internals/fckconfig.js          |  237 ---
 .../FCKeditor/editor/_source/internals/fckdebug.js |   59 -
 .../editor/_source/internals/fckdebug_empty.js     |   31 -
 .../editor/_source/internals/fckdialog.js          |  239 ----
 .../_source/internals/fckdocumentprocessor.js      |  270 ----
 .../editor/_source/internals/fckdomtools.js        | 1057 --------------
 .../editor/_source/internals/fcklanguagemanager.js |  164 ---
 .../editor/_source/internals/fcklisthandler.js     |  152 --
 .../editor/_source/internals/fcklistslib.js        |   63 -
 .../editor/_source/internals/fckplugins.js         |   46 -
 .../editor/_source/internals/fckregexlib.js        |  100 --
 .../editor/_source/internals/fckselection.js       |   42 -
 .../editor/_source/internals/fckselection_gecko.js |  228 ---
 .../editor/_source/internals/fckselection_ie.js    |  279 ----
 .../editor/_source/internals/fckstyles.js          |  381 -----
 .../editor/_source/internals/fcktablehandler.js    |  872 ------------
 .../_source/internals/fcktablehandler_gecko.js     |   56 -
 .../editor/_source/internals/fcktablehandler_ie.js |   64 -
 .../editor/_source/internals/fcktoolbaritems.js    |  124 --
 .../editor/_source/internals/fcktoolbarset.js      |  399 ------
 .../FCKeditor/editor/_source/internals/fcktools.js |  749 ----------
 .../editor/_source/internals/fcktools_gecko.js     |  282 ----
 .../editor/_source/internals/fcktools_ie.js        |  234 ---
 .../FCKeditor/editor/_source/internals/fckundo.js  |  223 ---
 .../editor/_source/internals/fckurlparams.js       |   39 -
 .../FCKeditor/editor/_source/internals/fckxhtml.js |  534 -------
 .../editor/_source/internals/fckxhtml_gecko.js     |  114 --
 .../editor/_source/internals/fckxhtml_ie.js        |  213 ---
 .../editor/_source/internals/fckxhtmlentities.js   |  354 -----
 .../editor/css/behaviors/disablehandles.htc        |   15 -
 .../editor/css/behaviors/showtableborders.htc      |   36 -
 .../FCKeditor/editor/css/fck_editorarea.css        |  110 --
 .../RichText/FCKeditor/editor/css/fck_internal.css |  199 ---
 .../editor/css/fck_showtableborders_gecko.css      |   49 -
 .../FCKeditor/editor/css/images/block_address.png  |  Bin 288 -> 0 bytes
 .../editor/css/images/block_blockquote.png         |  Bin 293 -> 0 bytes
 .../FCKeditor/editor/css/images/block_div.png      |  Bin 229 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h1.png       |  Bin 218 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h2.png       |  Bin 220 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h3.png       |  Bin 219 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h4.png       |  Bin 229 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h5.png       |  Bin 236 -> 0 bytes
 .../FCKeditor/editor/css/images/block_h6.png       |  Bin 216 -> 0 bytes
 .../FCKeditor/editor/css/images/block_p.png        |  Bin 205 -> 0 bytes
 .../FCKeditor/editor/css/images/block_pre.png      |  Bin 223 -> 0 bytes
 .../FCKeditor/editor/css/images/fck_anchor.gif     |  Bin 184 -> 0 bytes
 .../FCKeditor/editor/css/images/fck_flashlogo.gif  |  Bin 599 -> 0 bytes
 .../editor/css/images/fck_hiddenfield.gif          |  Bin 105 -> 0 bytes
 .../FCKeditor/editor/css/images/fck_pagebreak.gif  |  Bin 54 -> 0 bytes
 .../FCKeditor/editor/css/images/fck_plugin.gif     |  Bin 1709 -> 0 bytes
 .../editor/dialog/common/fck_dialog_common.css     |   85 --
 .../editor/dialog/common/fck_dialog_common.js      |  311 ----
 .../editor/dialog/common/images/locked.gif         |  Bin 74 -> 0 bytes
 .../editor/dialog/common/images/reset.gif          |  Bin 104 -> 0 bytes
 .../editor/dialog/common/images/unlocked.gif       |  Bin 75 -> 0 bytes
 .../FCKeditor/editor/dialog/fck_about.html         |  161 ---
 .../editor/dialog/fck_about/logo_fckeditor.gif     |  Bin 2044 -> 0 bytes
 .../editor/dialog/fck_about/logo_fredck.gif        |  Bin 920 -> 0 bytes
 .../dialog/fck_about/sponsors/spellchecker_net.gif |  Bin 1447 -> 0 bytes
 .../FCKeditor/editor/dialog/fck_anchor.html        |  220 ---
 .../FCKeditor/editor/dialog/fck_button.html        |  104 --
 .../FCKeditor/editor/dialog/fck_checkbox.html      |  104 --
 .../FCKeditor/editor/dialog/fck_colorselector.html |  172 ---
 .../RichText/FCKeditor/editor/dialog/fck_div.html  |  364 -----
 .../FCKeditor/editor/dialog/fck_docprops.html      |  600 --------
 .../dialog/fck_docprops/fck_document_preview.html  |  113 --
 .../FCKeditor/editor/dialog/fck_flash.html         |  152 --
 .../FCKeditor/editor/dialog/fck_flash/fck_flash.js |  300 ----
 .../editor/dialog/fck_flash/fck_flash_preview.html |   50 -
 .../RichText/FCKeditor/editor/dialog/fck_form.html |  109 --
 .../FCKeditor/editor/dialog/fck_hiddenfield.html   |  115 --
 .../FCKeditor/editor/dialog/fck_image.html         |  258 ----
 .../FCKeditor/editor/dialog/fck_image/fck_image.js |  512 -------
 .../editor/dialog/fck_image/fck_image_preview.html |   72 -
 .../RichText/FCKeditor/editor/dialog/fck_link.html |  295 ----
 .../FCKeditor/editor/dialog/fck_link/fck_link.js   |  893 ------------
 .../FCKeditor/editor/dialog/fck_listprop.html      |  120 --
 .../FCKeditor/editor/dialog/fck_paste.html         |  346 -----
 .../FCKeditor/editor/dialog/fck_radiobutton.html   |  104 --
 .../FCKeditor/editor/dialog/fck_replace.html       |  648 ---------
 .../FCKeditor/editor/dialog/fck_select.html        |  180 ---
 .../editor/dialog/fck_select/fck_select.js         |  194 ---
 .../FCKeditor/editor/dialog/fck_smiley.html        |  111 --
 .../FCKeditor/editor/dialog/fck_source.html        |   68 -
 .../FCKeditor/editor/dialog/fck_specialchar.html   |  121 --
 .../FCKeditor/editor/dialog/fck_spellerpages.html  |   70 -
 .../fck_spellerpages/spellerpages/controlWindow.js |   87 --
 .../fck_spellerpages/spellerpages/controls.html    |  153 --
 .../spellerpages/server-scripts/spellchecker.cfm   |  148 --
 .../spellerpages/server-scripts/spellchecker.php   |  199 ---
 .../spellerpages/server-scripts/spellchecker.pl    |  181 ---
 .../fck_spellerpages/spellerpages/spellChecker.js  |  461 ------
 .../spellerpages/spellchecker.html                 |   71 -
 .../fck_spellerpages/spellerpages/spellerStyle.css |   49 -
 .../fck_spellerpages/spellerpages/wordWindow.js    |  272 ----
 .../FCKeditor/editor/dialog/fck_table.html         |  298 ----
 .../FCKeditor/editor/dialog/fck_tablecell.html     |  257 ----
 .../FCKeditor/editor/dialog/fck_template.html      |  242 ----
 .../dialog/fck_template/images/template1.gif       |  Bin 375 -> 0 bytes
 .../dialog/fck_template/images/template2.gif       |  Bin 333 -> 0 bytes
 .../dialog/fck_template/images/template3.gif       |  Bin 422 -> 0 bytes
 .../FCKeditor/editor/dialog/fck_textarea.html      |   94 --
 .../FCKeditor/editor/dialog/fck_textfield.html     |  136 --
 .../FCKeditor/editor/dtd/fck_dtd_test.html         |   41 -
 .../FCKeditor/editor/dtd/fck_xhtml10strict.js      |  116 --
 .../editor/dtd/fck_xhtml10transitional.js          |  140 --
 .../NoAuth/RichText/FCKeditor/editor/fckdebug.html |  153 --
 .../RichText/FCKeditor/editor/fckdialog.html       |  812 -----------
 .../RichText/FCKeditor/editor/fckeditor.html       |  317 -----
 .../FCKeditor/editor/fckeditor.original.html       |  424 ------
 .../RichText/FCKeditor/editor/images/anchor.gif    |  Bin 184 -> 0 bytes
 .../RichText/FCKeditor/editor/images/arrow_ltr.gif |  Bin 49 -> 0 bytes
 .../RichText/FCKeditor/editor/images/arrow_rtl.gif |  Bin 49 -> 0 bytes
 .../editor/images/smiley/msn/angel_smile.gif       |  Bin 445 -> 0 bytes
 .../editor/images/smiley/msn/angry_smile.gif       |  Bin 453 -> 0 bytes
 .../editor/images/smiley/msn/broken_heart.gif      |  Bin 423 -> 0 bytes
 .../FCKeditor/editor/images/smiley/msn/cake.gif    |  Bin 453 -> 0 bytes
 .../editor/images/smiley/msn/confused_smile.gif    |  Bin 322 -> 0 bytes
 .../editor/images/smiley/msn/cry_smile.gif         |  Bin 473 -> 0 bytes
 .../editor/images/smiley/msn/devil_smile.gif       |  Bin 444 -> 0 bytes
 .../editor/images/smiley/msn/embaressed_smile.gif  |  Bin 1077 -> 0 bytes
 .../editor/images/smiley/msn/envelope.gif          |  Bin 1030 -> 0 bytes
 .../FCKeditor/editor/images/smiley/msn/heart.gif   |  Bin 1012 -> 0 bytes
 .../FCKeditor/editor/images/smiley/msn/kiss.gif    |  Bin 978 -> 0 bytes
 .../editor/images/smiley/msn/lightbulb.gif         |  Bin 303 -> 0 bytes
 .../editor/images/smiley/msn/omg_smile.gif         |  Bin 342 -> 0 bytes
 .../editor/images/smiley/msn/regular_smile.gif     |  Bin 1036 -> 0 bytes
 .../editor/images/smiley/msn/sad_smile.gif         |  Bin 1039 -> 0 bytes
 .../editor/images/smiley/msn/shades_smile.gif      |  Bin 1059 -> 0 bytes
 .../editor/images/smiley/msn/teeth_smile.gif       |  Bin 1064 -> 0 bytes
 .../editor/images/smiley/msn/thumbs_down.gif       |  Bin 992 -> 0 bytes
 .../editor/images/smiley/msn/thumbs_up.gif         |  Bin 989 -> 0 bytes
 .../editor/images/smiley/msn/tounge_smile.gif      |  Bin 1055 -> 0 bytes
 .../smiley/msn/whatchutalkingabout_smile.gif       |  Bin 1034 -> 0 bytes
 .../editor/images/smiley/msn/wink_smile.gif        |  Bin 1041 -> 0 bytes
 .../RichText/FCKeditor/editor/images/spacer.gif    |  Bin 43 -> 0 bytes
 .../RichText/FCKeditor/editor/js/fckadobeair.js    |  176 ---
 .../FCKeditor/editor/js/fckeditorcode_gecko.js     |  108 --
 .../FCKeditor/editor/js/fckeditorcode_ie.js        |  109 --
 .../FCKeditor/editor/lang/_translationstatus.txt   |   78 -
 .../NoAuth/RichText/FCKeditor/editor/lang/af.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ar.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/bg.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/bn.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/bs.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ca.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/cs.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/da.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/de.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/el.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/en-au.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/en-ca.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/en-uk.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/en.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/eo.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/es.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/et.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/eu.js    |  527 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/fa.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/fi.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/fo.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/fr-ca.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/fr.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/gl.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/gu.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/he.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/hi.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/hr.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/hu.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/it.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ja.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/km.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ko.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/lt.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/lv.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/mn.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ms.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/nb.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/nl.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/no.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/pl.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/pt-br.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/pt.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ro.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/ru.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/sk.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/sl.js    |  526 -------
 .../RichText/FCKeditor/editor/lang/sr-latn.js      |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/sr.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/sv.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/th.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/tr.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/uk.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/vi.js    |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/zh-cn.js |  526 -------
 .../NoAuth/RichText/FCKeditor/editor/lang/zh.js    |  526 -------
 .../FCKeditor/editor/plugins/autogrow/fckplugin.js |   99 --
 .../editor/plugins/bbcode/_sample/sample.config.js |   26 -
 .../editor/plugins/bbcode/_sample/sample.html      |   67 -
 .../FCKeditor/editor/plugins/bbcode/fckplugin.js   |  123 --
 .../editor/plugins/dragresizetable/fckplugin.js    |  524 -------
 .../plugins/placeholder/fck_placeholder.html       |  105 --
 .../editor/plugins/placeholder/fckplugin.js        |  187 ---
 .../editor/plugins/placeholder/lang/de.js          |   27 -
 .../editor/plugins/placeholder/lang/en.js          |   27 -
 .../editor/plugins/placeholder/lang/es.js          |   27 -
 .../editor/plugins/placeholder/lang/fr.js          |   27 -
 .../editor/plugins/placeholder/lang/it.js          |   27 -
 .../editor/plugins/placeholder/lang/pl.js          |   27 -
 .../editor/plugins/placeholder/placeholder.gif     |  Bin 96 -> 0 bytes
 .../editor/plugins/simplecommands/fckplugin.js     |   29 -
 .../editor/plugins/tablecommands/fckplugin.js      |   33 -
 .../FCKeditor/editor/skins/_fckviewstrips.html     |  121 --
 .../FCKeditor/editor/skins/default/fck_dialog.css  |  402 ------
 .../editor/skins/default/fck_dialog_ie6.js         |  110 --
 .../FCKeditor/editor/skins/default/fck_editor.css  |  464 ------
 .../FCKeditor/editor/skins/default/fck_strip.gif   |  Bin 5067 -> 0 bytes
 .../editor/skins/default/images/dialog.sides.gif   |  Bin 48 -> 0 bytes
 .../editor/skins/default/images/dialog.sides.png   |  Bin 178 -> 0 bytes
 .../skins/default/images/dialog.sides.rtl.png      |  Bin 181 -> 0 bytes
 .../editor/skins/default/images/sprites.gif        |  Bin 959 -> 0 bytes
 .../editor/skins/default/images/sprites.png        |  Bin 3250 -> 0 bytes
 .../skins/default/images/toolbar.arrowright.gif    |  Bin 53 -> 0 bytes
 .../skins/default/images/toolbar.buttonarrow.gif   |  Bin 46 -> 0 bytes
 .../skins/default/images/toolbar.collapse.gif      |  Bin 152 -> 0 bytes
 .../editor/skins/default/images/toolbar.end.gif    |  Bin 43 -> 0 bytes
 .../editor/skins/default/images/toolbar.expand.gif |  Bin 152 -> 0 bytes
 .../skins/default/images/toolbar.separator.gif     |  Bin 58 -> 0 bytes
 .../editor/skins/default/images/toolbar.start.gif  |  Bin 105 -> 0 bytes
 .../editor/skins/office2003/fck_dialog.css         |  402 ------
 .../editor/skins/office2003/fck_dialog_ie6.js      |  110 --
 .../editor/skins/office2003/fck_editor.css         |  476 -------
 .../editor/skins/office2003/fck_strip.gif          |  Bin 9668 -> 0 bytes
 .../skins/office2003/images/dialog.sides.gif       |  Bin 48 -> 0 bytes
 .../skins/office2003/images/dialog.sides.png       |  Bin 203 -> 0 bytes
 .../skins/office2003/images/dialog.sides.rtl.png   |  Bin 205 -> 0 bytes
 .../editor/skins/office2003/images/sprites.gif     |  Bin 959 -> 0 bytes
 .../editor/skins/office2003/images/sprites.png     |  Bin 3305 -> 0 bytes
 .../skins/office2003/images/toolbar.arrowright.gif |  Bin 53 -> 0 bytes
 .../editor/skins/office2003/images/toolbar.bg.gif  |  Bin 73 -> 0 bytes
 .../office2003/images/toolbar.buttonarrow.gif      |  Bin 46 -> 0 bytes
 .../skins/office2003/images/toolbar.collapse.gif   |  Bin 152 -> 0 bytes
 .../editor/skins/office2003/images/toolbar.end.gif |  Bin 124 -> 0 bytes
 .../skins/office2003/images/toolbar.expand.gif     |  Bin 152 -> 0 bytes
 .../skins/office2003/images/toolbar.separator.gif  |  Bin 67 -> 0 bytes
 .../skins/office2003/images/toolbar.start.gif      |  Bin 99 -> 0 bytes
 .../FCKeditor/editor/skins/silver/fck_dialog.css   |  402 ------
 .../editor/skins/silver/fck_dialog_ie6.js          |  110 --
 .../FCKeditor/editor/skins/silver/fck_editor.css   |  473 ------
 .../FCKeditor/editor/skins/silver/fck_strip.gif    |  Bin 5067 -> 0 bytes
 .../editor/skins/silver/images/dialog.sides.gif    |  Bin 48 -> 0 bytes
 .../editor/skins/silver/images/dialog.sides.png    |  Bin 198 -> 0 bytes
 .../skins/silver/images/dialog.sides.rtl.png       |  Bin 200 -> 0 bytes
 .../editor/skins/silver/images/sprites.gif         |  Bin 959 -> 0 bytes
 .../editor/skins/silver/images/sprites.png         |  Bin 3278 -> 0 bytes
 .../skins/silver/images/toolbar.arrowright.gif     |  Bin 53 -> 0 bytes
 .../skins/silver/images/toolbar.buttonarrow.gif    |  Bin 46 -> 0 bytes
 .../skins/silver/images/toolbar.buttonbg.gif       |  Bin 829 -> 0 bytes
 .../skins/silver/images/toolbar.collapse.gif       |  Bin 152 -> 0 bytes
 .../editor/skins/silver/images/toolbar.end.gif     |  Bin 43 -> 0 bytes
 .../editor/skins/silver/images/toolbar.expand.gif  |  Bin 152 -> 0 bytes
 .../skins/silver/images/toolbar.separator.gif      |  Bin 58 -> 0 bytes
 .../editor/skins/silver/images/toolbar.start.gif   |  Bin 105 -> 0 bytes
 share/html/NoAuth/RichText/FCKeditor/fckconfig.js  |  327 -----
 share/html/NoAuth/RichText/FCKeditor/fckeditor.js  |  328 -----
 .../html/NoAuth/RichText/FCKeditor/fckpackager.xml |  262 ----
 share/html/NoAuth/RichText/FCKeditor/fckstyles.xml |  111 --
 .../NoAuth/RichText/FCKeditor/fcktemplates.xml     |  103 --
 share/html/NoAuth/RichText/FCKeditor/license.txt   | 1246 ----------------
 share/html/NoAuth/RichText/dhandler                |   69 -
 .../Ticket/Elements/ShowTransactionAttachments     |    2 +-
 share/web/static/js/fckeditor.js                   |  299 ----
 share/web/static/js/rulebuilder.js                 |   41 +-
 346 files changed, 88 insertions(+), 71248 deletions(-)
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckcontextmenu.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdataprocessor.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdocumentfragment_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdocumentfragment_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdomrange.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdomrange_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdomrange_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckdomrangeiterator.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckeditingarea.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckelementpath.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckenterkey.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckevents.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckhtmliterator.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckicon.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckiecleanup.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckimagepreloader.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckkeystrokehandler.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckmenublock.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckmenublockpanel.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckmenuitem.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckpanel.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckspecialcombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckstyle.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbar.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbreak_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbreak_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbutton.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarbuttonui.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarfontformatcombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarfontscombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarfontsizecombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarpanelbutton.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarspecialcombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fcktoolbarstylecombo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckw3crange.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckxml.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckxml_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckxml_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fck_othercommands.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckblockquotecommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckcorestylecommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckfitwindow.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckindentcommands.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckjustifycommands.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fcklistcommands.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fcknamedcommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckpastewordcommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckremoveformatcommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckshowblocks.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fckstylecommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fcktablecommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/commandclasses/fcktextcolorcommand.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/fckconstants.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/fckeditorapi.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/fckjscoreextensions.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/fckscriptloader.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fck.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fck_contextmenu.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fck_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fck_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckbrowserinfo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckcodeformatter.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckcommands.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckconfig.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckdebug.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckdebug_empty.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckdialog.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckdocumentprocessor.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckdomtools.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcklanguagemanager.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcklisthandler.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcklistslib.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckplugins.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckregexlib.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckselection.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckselection_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckselection_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckstyles.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktablehandler.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktablehandler_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktablehandler_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktoolbaritems.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktoolbarset.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktools.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktools_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fcktools_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckundo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckurlparams.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckxhtml.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckxhtml_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckxhtml_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/_source/internals/fckxhtmlentities.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/behaviors/disablehandles.htc
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/behaviors/showtableborders.htc
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/fck_editorarea.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/fck_internal.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/fck_showtableborders_gecko.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_address.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_blockquote.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_div.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h1.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h2.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h3.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h4.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h5.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_h6.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_p.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/block_pre.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/fck_anchor.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/fck_flashlogo.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/fck_hiddenfield.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/fck_pagebreak.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/css/images/fck_plugin.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/common/fck_dialog_common.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/common/fck_dialog_common.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/common/images/locked.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/common/images/reset.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/common/images/unlocked.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_about.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_about/logo_fckeditor.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_about/logo_fredck.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_anchor.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_button.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_checkbox.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_colorselector.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_div.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_docprops.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_docprops/fck_document_preview.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_flash.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_flash/fck_flash.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_flash/fck_flash_preview.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_form.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_hiddenfield.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_image.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_image/fck_image.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_image/fck_image_preview.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_link.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_link/fck_link.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_listprop.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_paste.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_radiobutton.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_replace.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_select.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_select/fck_select.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_smiley.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_source.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_specialchar.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_table.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_tablecell.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_template.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_template/images/template1.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_template/images/template2.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_template/images/template3.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_textarea.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_textfield.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dtd/fck_dtd_test.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dtd/fck_xhtml10strict.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/dtd/fck_xhtml10transitional.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/fckdebug.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/fckdialog.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/fckeditor.original.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/anchor.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/arrow_ltr.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/arrow_rtl.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/angel_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/angry_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/broken_heart.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/cake.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/confused_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/cry_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/devil_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/embaressed_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/envelope.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/heart.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/kiss.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/lightbulb.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/omg_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/regular_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/sad_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/shades_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/teeth_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/thumbs_down.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/thumbs_up.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/tounge_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/smiley/msn/wink_smile.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/images/spacer.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/js/fckadobeair.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/js/fckeditorcode_gecko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/js/fckeditorcode_ie.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/_translationstatus.txt
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/af.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ar.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/bg.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/bn.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/bs.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ca.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/cs.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/da.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/de.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/el.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/en-au.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/en-ca.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/en-uk.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/en.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/eo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/es.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/et.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/eu.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/fa.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/fi.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/fo.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/fr-ca.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/fr.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/gl.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/gu.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/he.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/hi.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/hr.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/hu.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/it.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ja.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/km.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ko.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/lt.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/lv.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/mn.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ms.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/nb.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/nl.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/no.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/pl.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/pt-br.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/pt.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ro.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/ru.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/sk.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/sl.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/sr-latn.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/sr.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/sv.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/th.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/tr.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/uk.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/vi.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/zh-cn.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/lang/zh.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/autogrow/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/bbcode/_sample/sample.config.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/bbcode/_sample/sample.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/bbcode/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/dragresizetable/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/fck_placeholder.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/de.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/en.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/es.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/fr.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/it.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/lang/pl.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/placeholder/placeholder.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/simplecommands/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/plugins/tablecommands/fckplugin.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/_fckviewstrips.html
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/fck_dialog.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/fck_dialog_ie6.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/fck_editor.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/fck_strip.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/dialog.sides.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/dialog.sides.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/dialog.sides.rtl.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/sprites.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/sprites.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.arrowright.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.buttonarrow.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.collapse.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.end.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.expand.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.separator.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/default/images/toolbar.start.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/fck_dialog.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/fck_dialog_ie6.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/fck_editor.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/fck_strip.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/dialog.sides.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/dialog.sides.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/dialog.sides.rtl.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/sprites.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/sprites.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.arrowright.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.bg.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.buttonarrow.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.collapse.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.end.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.expand.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.separator.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/office2003/images/toolbar.start.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/fck_dialog.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/fck_dialog_ie6.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/fck_editor.css
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/fck_strip.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/dialog.sides.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/dialog.sides.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/dialog.sides.rtl.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/sprites.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/sprites.png
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.arrowright.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.buttonarrow.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.buttonbg.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.collapse.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.end.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.expand.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.separator.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/editor/skins/silver/images/toolbar.start.gif
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/fckconfig.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/fckeditor.js
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/fckpackager.xml
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/fckstyles.xml
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/fcktemplates.xml
 delete mode 100644 share/html/NoAuth/RichText/FCKeditor/license.txt
 delete mode 100644 share/html/NoAuth/RichText/dhandler
 delete mode 100644 share/web/static/js/fckeditor.js

- Log -----------------------------------------------------------------
commit 9da216bb3b2e6ea6c4d1fbb33009faebb1c46693
Merge: 2cfeb5b dab10fa
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Fri Sep 18 09:51:45 2009 +0800

    Merge remote branch 'origin/development' into lcore
    
    Conflicts:
    	lib/RT.pm

diff --cc lib/RT.pm
index 7b57d5b,e98ae55..f46e325
--- a/lib/RT.pm
+++ b/lib/RT.pm
@@@ -413,9 -413,8 +413,9 @@@ sub start 
      RT::init();
  
      Jifty->web->add_javascript(
-         qw( titlebox-state.js util.js ahah.js fckeditor.js list.js class.js
+         qw( titlebox-state.js util.js ahah.js list.js class.js
 -        combobox.js  cascaded.js )
 +            jquery.createdomnodes.js jquery.menu.js combobox.js  cascaded.js rulebuilder.js
 +      )
      );
  
      Jifty::Web->add_trigger(

commit 3e941000773801018c26e067692f7a90701c8b19
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Fri Sep 18 10:16:02 2009 +0800

    load_expressions skeleton for rulebuilder.

diff --git a/lib/RT/View/Admin/Rules.pm b/lib/RT/View/Admin/Rules.pm
index bd62203..ccb9815 100644
--- a/lib/RT/View/Admin/Rules.pm
+++ b/lib/RT/View/Admin/Rules.pm
@@ -86,5 +86,27 @@ sub view_field_name {
     });
 }
 
+template 'edit' => page {
+    show('./update');
+
+    div { { id is 'expressionbuilder' } };
+outs_raw(q{<script type="text/javascript">
+jQuery(function() {
+  jQuery._span_({'class': 'edit-with-rulebuilder'}).text("...")
+    .insertAfter("textarea.argument-condition_code")
+    .click(function(e) { RuleBuilder.load_and_edit_lambda([
+    { expression: 'ticket',
+      type: 'RT::Model::Ticket'
+    },
+    { expression: 'transaction',
+      type: 'RT::Model::Transaction'
+    }
+], 'Bool', this) });
+
+});
+</script>
+});
+};
+
 1;
 
diff --git a/lib/RT/View/RuleBuilder.pm b/lib/RT/View/RuleBuilder.pm
index 5d01350..39c37b7 100644
--- a/lib/RT/View/RuleBuilder.pm
+++ b/lib/RT/View/RuleBuilder.pm
@@ -35,6 +35,18 @@ template 'getfunctions.json' => sub {
     print to_json($data);
 };
 
+template 'parse_lambda.json' => sub {
+    Jifty->handler->apache->header_out('Content-Type' => 'application/json; charset=UTF-8' );
+    Jifty->handler->send_http_header;
+
+    my $l = $RT::Lorzy::LCORE;
+    my $env = $l->env;
+    my $lambda = $l->analyze_it(get('lambda_text'));
+
+    print to_json( $lambda->procedure->body->to_hash );
+};
+
+
 template 'index.html' => page {
     title => "rule",
 } content {
diff --git a/share/web/static/js/rulebuilder.js b/share/web/static/js/rulebuilder.js
index 475d5b3..1a9a4d6 100644
--- a/share/web/static/js/rulebuilder.js
+++ b/share/web/static/js/rulebuilder.js
@@ -21,6 +21,31 @@ RuleBuilder.expressions = [
     }
 ];
 
+RuleBuilder.load_and_edit_lambda = function (params, return_type, el) {
+    var lambda_text = jQuery(el).prev('textarea').text();
+    jQuery.post('/rulebuilder/parse_lambda.json', { lambda_text: lambda_text },
+               function(response, status) {
+                   var rb = new RuleBuilder("#expressionbuilder");
+                   rb.load_expressions(response);
+               },
+               'json'); // XXX: handle errors.
+};
+
+RuleBuilder.prototype.load_expressions = function (node) {
+    if (node.type == 'application') {
+
+    }
+    else if (node.type == 'variable') {
+
+    }
+    else if (node.type == 'self_evaluating') {
+
+    }
+    else {
+        console.log('unknown node type');
+    }
+}
+
 RuleBuilder.prototype.init = function () {
     var sel = this.sel;
     var ebuilder = jQuery(sel);

commit ebe31ab64609019a51120f8f0e9e31b219739087
Author: Chia-liang Kao <clkao at bestpractical.com>
Date:   Fri Sep 18 10:43:02 2009 +0800

    recursively load expression nodes.

diff --git a/share/web/static/js/rulebuilder.js b/share/web/static/js/rulebuilder.js
index 1a9a4d6..7adae56 100644
--- a/share/web/static/js/rulebuilder.js
+++ b/share/web/static/js/rulebuilder.js
@@ -1,4 +1,4 @@
-RuleBuilder = function (sel) {
+RuleBuilder = function (sel, cb) {
     this.sel = sel;
     /* defaults for now, should use ajax query */
     this.expressions = RuleBuilder.expressions;
@@ -8,6 +8,8 @@ RuleBuilder = function (sel) {
                function(response, status) {
                    that.functions = response;
                    that.init();
+                   if (cb)
+                       cb.apply(that);
                },
                'json'); // XXX: handle errors.
 };
@@ -25,20 +27,32 @@ RuleBuilder.load_and_edit_lambda = function (params, return_type, el) {
     var lambda_text = jQuery(el).prev('textarea').text();
     jQuery.post('/rulebuilder/parse_lambda.json', { lambda_text: lambda_text },
                function(response, status) {
-                   var rb = new RuleBuilder("#expressionbuilder");
-                   rb.load_expressions(response);
+                   new RuleBuilder("#expressionbuilder",
+                                   function () {
+                                       this.load_expressions(response, this.top_context);
+                                   });
                },
                'json'); // XXX: handle errors.
 };
 
-RuleBuilder.prototype.load_expressions = function (node) {
+RuleBuilder.prototype.load_expressions = function (node, ctx) {
     if (node.type == 'application') {
-
+        var func_name = node.operator.name; // XXX: ensure operator of
+                                            // type: variable
+        ctx.set_application(func_name, this.functions[func_name]);
+        for (var i in ctx.children) {
+            this.load_expressions(node.operands[i], ctx.children[i]);
+        }
     }
     else if (node.type == 'variable') {
-
+        var expressions = jQuery.grep(this.expressions, function(val) { return val.expression == node.name });
+        ctx.set_expression(expressions[0]);
     }
     else if (node.type == 'self_evaluating') {
+        jQuery._input_({ 'type': 'text', 'class': 'enter-value', 'value': node.value})
+            .change(function() { ctx.update_return_type(ctx.return_type_from_val(this.value)) } )
+            .appendTo(ctx.element).trigger('focus');
+        ctx.self_eval = true;
 
     }
     else {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list