locomotive-aloha-rails 0.20.1.5 → 0.23.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/Rakefile +15 -6
- data/app/assets/javascripts/aloha.js +1 -0
- data/lib/aloha/rails/engine.rb +1 -1
- data/lib/aloha/rails/version.rb +2 -2
- data/vendor/assets/javascripts/aloha/css/aloha-common-extra.css +24 -0
- data/vendor/assets/javascripts/aloha/css/aloha-core.css +4 -29
- data/vendor/assets/javascripts/aloha/css/aloha-reset.css +24 -0
- data/vendor/assets/javascripts/aloha/css/aloha-sidebar.css +77 -89
- data/vendor/assets/javascripts/aloha/css/aloha.css +31 -7777
- data/vendor/assets/javascripts/aloha/img/arrow-down.png +0 -0
- data/vendor/assets/javascripts/aloha/img/arrow-left.png +0 -0
- data/vendor/assets/javascripts/aloha/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/img/base-multi.png +0 -0
- data/vendor/assets/javascripts/aloha/img/base.png +0 -0
- data/vendor/assets/javascripts/aloha/img/bg.png +0 -0
- data/vendor/assets/javascripts/aloha/img/breadcrumb-divider.png +0 -0
- data/vendor/assets/javascripts/aloha/img/gentics-logo.png +0 -0
- data/vendor/assets/javascripts/aloha/img/grabhandle.png +0 -0
- data/vendor/assets/javascripts/aloha/img/maximize.png +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-base.jpg +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/img/multisplit-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/img/pin.png +0 -0
- data/vendor/assets/javascripts/aloha/img/removeformat.png +0 -0
- data/vendor/assets/javascripts/aloha/img/text_indent.png +0 -0
- data/vendor/assets/javascripts/aloha/img/text_indent_remove.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/aloha-jquery-noconflict.js +12 -0
- data/vendor/assets/javascripts/aloha/lib/aloha.js +532 -89342
- data/vendor/assets/javascripts/aloha/lib/aloha/block-jump.js +153 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/command.js +161 -123
- data/vendor/assets/javascripts/aloha/lib/aloha/console.js +312 -295
- data/vendor/assets/javascripts/aloha/lib/aloha/contenthandlermanager.js +82 -44
- data/vendor/assets/javascripts/aloha/lib/aloha/copypaste.js +108 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/core.js +453 -410
- data/vendor/assets/javascripts/aloha/lib/aloha/ecma5shims.js +307 -277
- data/vendor/assets/javascripts/aloha/lib/aloha/editable.js +548 -408
- data/vendor/assets/javascripts/aloha/lib/aloha/engine.js +7359 -7182
- data/vendor/assets/javascripts/aloha/lib/aloha/ephemera.js +485 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/ierange-m2.js +28 -545
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.aloha.js +364 -146
- data/vendor/assets/javascripts/aloha/lib/aloha/markup.js +1272 -1255
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/ca/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/de/i18n.js +11 -10
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/i18n.js +19 -19
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/mk/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/pt-br/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/ru/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/uk/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/nls/zh-hans/i18n.js +11 -0
- data/vendor/assets/javascripts/aloha/lib/aloha/observable.js +43 -36
- data/vendor/assets/javascripts/aloha/lib/aloha/plugin.js +80 -75
- data/vendor/assets/javascripts/aloha/lib/aloha/pluginmanager.js +146 -97
- data/vendor/assets/javascripts/aloha/lib/aloha/rangy-core.js +30 -3242
- data/vendor/assets/javascripts/aloha/lib/aloha/registry.js +102 -24
- data/vendor/assets/javascripts/aloha/lib/aloha/repository.js +137 -123
- data/vendor/assets/javascripts/aloha/lib/aloha/repositorymanager.js +742 -571
- data/vendor/assets/javascripts/aloha/lib/aloha/repositoryobjects.js +77 -61
- data/vendor/assets/javascripts/aloha/lib/aloha/selection.js +2402 -2102
- data/vendor/assets/javascripts/aloha/lib/aloha/sidebar.js +566 -664
- data/vendor/assets/javascripts/aloha/lib/aloha/state-override.js +125 -0
- data/vendor/assets/javascripts/aloha/lib/css.js +329 -187
- data/vendor/assets/javascripts/aloha/lib/i18n.js +118 -79
- data/vendor/assets/javascripts/aloha/lib/require.js +1424 -1384
- data/vendor/assets/javascripts/aloha/lib/text.js +39 -13
- data/vendor/assets/javascripts/aloha/lib/util/arrays.js +240 -0
- data/vendor/assets/javascripts/aloha/lib/util/browser.js +32 -0
- data/vendor/assets/javascripts/aloha/lib/util/class.js +67 -69
- data/vendor/assets/javascripts/aloha/lib/util/dom.js +1525 -1504
- data/vendor/assets/javascripts/aloha/lib/util/dom2.js +748 -0
- data/vendor/assets/javascripts/aloha/lib/util/functions.js +62 -0
- data/vendor/assets/javascripts/aloha/lib/util/html.js +121 -0
- data/vendor/assets/javascripts/aloha/lib/util/json2.js +240 -257
- data/vendor/assets/javascripts/aloha/lib/util/keys.js +65 -0
- data/vendor/assets/javascripts/aloha/lib/util/lang.js +89 -66
- data/vendor/assets/javascripts/aloha/lib/util/maps.js +108 -0
- data/vendor/assets/javascripts/aloha/lib/util/misc.js +51 -0
- data/vendor/assets/javascripts/aloha/lib/util/position.js +176 -158
- data/vendor/assets/javascripts/aloha/lib/util/range-context.js +528 -0
- data/vendor/assets/javascripts/aloha/lib/util/range.js +799 -805
- data/vendor/assets/javascripts/aloha/lib/util/strings.js +114 -0
- data/vendor/assets/javascripts/aloha/lib/util/trees.js +336 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/3rdparty.txt +70 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/amplify.store.js +298 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/class.js +76 -0
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser → lib}/vendor/grid.locale.de.js +138 -139
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser → lib}/vendor/grid.locale.en.js +43 -44
- data/vendor/assets/javascripts/aloha/lib/vendor/ierange-m2.js +508 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/{jquery-1.6.1.js → jquery-1.7.2.js} +2553 -2068
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery-ui-1.9.0.custom-aloha.js +14711 -0
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser/vendor/jquery.jqGrid.js → lib/vendor/jquery.jqgrid.js} +5 -3
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser → lib}/vendor/jquery.jstree.js +4 -4
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.layout-1.3.0-rc30.7.js +5924 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/pubsub/js/pubsub-unminified.js +187 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/pubsub/js/pubsub.js +2 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/rangy-core.js +3295 -0
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser → lib/vendor/repository-browser}/css/jstree.css +0 -0
- data/vendor/assets/javascripts/aloha/{plugins/extra/browser/css/browsercombined.css → lib/vendor/repository-browser/css/repository-browser.css} +64 -60
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-000-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-180.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-315-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-stop-180.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow-stop.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/control-stop-square-small.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/folder-horizontal-open.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/folder-open.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/magnifier-left.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/picture.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/sort-alphabet-descending.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/sort-alphabet.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/img/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/js/repository-browser-unminified.js +1450 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/repository-browser/js/repository-browser.js +32 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/sanitize.js +18 -7
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/css/abbr.css +1 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/img/remabbr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/lib/abbr-plugin.js +119 -109
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/de/i18n.js +6 -1
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/i18n.js +14 -3
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/abbr/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/css/align.css +17 -5
- data/vendor/assets/javascripts/aloha/plugins/common/align/img/align.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/lib/align-plugin.js +463 -353
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/i18n.js +16 -4
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/css/block.css +13 -7
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block-plugin.js +270 -24
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block.js +268 -49
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockcontenthandler.js +27 -8
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockmanager.js +624 -479
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editor.js +30 -11
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editormanager.js +26 -7
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/sidebarattributeeditor.js +33 -13
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/block/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/css/characterpicker.css +29 -26
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/img/icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/lib/characterpicker-plugin.js +445 -215
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/de/i18n.js +3 -1
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/i18n.js +11 -3
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/css/abbr.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/commands/lib/commands-plugin.js +27 -9
- data/vendor/assets/javascripts/aloha/plugins/common/commands/lib/inserthtml.js +28 -9
- data/vendor/assets/javascripts/aloha/plugins/common/commands/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/blockelementcontenthandler.js +173 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/contenthandler-plugin.js +45 -34
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/contenthandler-utils.js +58 -0
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/genericcontenthandler.js +320 -255
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/oembedcontenthandler.js +420 -235
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js +82 -33
- data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/wordcontenthandler.js +204 -128
- data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml-plugin.js +57 -12
- data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml.js +186 -77
- data/vendor/assets/javascripts/aloha/plugins/common/format/img/em.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/img/strong.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/lib/format-plugin.js +480 -255
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/ca/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/de/i18n.js +52 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/i18n.js +60 -9
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/mk/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/pt-br/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/ru/i18n.js +52 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/uk/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/zh-hans/i18n.js +52 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/css/highlighteditables.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/lib/highlighteditables-plugin.js +43 -15
- data/vendor/assets/javascripts/aloha/plugins/common/highlighteditables/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/css/horizontalruler.css +2 -3
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/img/icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/lib/horizontalruler-plugin.js +53 -28
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/de/i18n.js +3 -1
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/i18n.js +11 -3
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/README.md +5 -22
- data/vendor/assets/javascripts/aloha/plugins/common/image/css/image.css +24 -15
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/blank.jpg +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/cropnresize.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/handle-sw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-left.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-none.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-align-right.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-border.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image-title.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/image.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/padding-decrease.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/padding-increase.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/size-decrease.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/img/size-increase.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-floatingMenu.js +308 -0
- data/vendor/assets/javascripts/aloha/plugins/{extra/browser/README → common/image/lib/image-plugin-actions.js} +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-plugin.js +1330 -1632
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/ca/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/de/i18n.js +32 -1
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/i18n.js +39 -5
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/mk/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/pt-br/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/ru/i18n.js +32 -16
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/uk/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/zh-hans/i18n.js +32 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jcrop.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.min.js +3 -1
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/mousewheel/mousewheel.js +42 -17
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/css/link.css +58 -55
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/delicious.js +26 -8
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/linklist.js +91 -73
- data/vendor/assets/javascripts/aloha/plugins/common/link/extra/slowlinklist.js +29 -10
- data/vendor/assets/javascripts/aloha/plugins/common/link/lib/link-plugin.js +429 -297
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/ca/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/de/i18n.js +14 -13
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/i18n.js +23 -9
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/mk/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/pt-br/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/ru/i18n.js +14 -6
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/uk/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/zh-hans/i18n.js +14 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/lib/list-plugin.js +150 -121
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/ca/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/de/i18n.js +7 -5
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/i18n.js +15 -8
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/mk/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/pt-br/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/ru/i18n.js +7 -1
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/uk/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/zh-hans/i18n.js +7 -0
- data/vendor/assets/javascripts/aloha/plugins/common/list/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/paste/lib/paste-plugin.js +338 -192
- data/vendor/assets/javascripts/aloha/plugins/common/table/css/table.css +5 -40
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/down.cur +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/left.cur +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/table_layout.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/wai-green.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/img/wai-red.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-cell.js +177 -106
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-create-layer.js +5 -2
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin-utils.js +147 -8
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin.js +925 -892
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-selection.js +10 -6
- data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table.js +577 -193
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/ca/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/de/i18n.js +28 -27
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/i18n.js +37 -36
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/mk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/pt-br/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/ru/i18n.js +28 -1
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/uk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/zh-hans/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/common/table/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/css/jquery-ui-1.9m6.css +430 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/css/ui.css +689 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/character-picker.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/em.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/format-block.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/format-inline.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/indent.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/jqueryui/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/justify.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/language-annotation.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/anchor.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/caption.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/div.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/dt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h1.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h2.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h3.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h4.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h5.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/h6.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/p.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/pre.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/q.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/table.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/metaview/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/multisplit-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/multisplit-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/outdent.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/quote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/removeformat.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/strong.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/img/tree.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/arena.js +11 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/autocomplete.js +70 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/button.js +114 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/component.js +121 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/container.js +210 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/context.js +53 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/dialog.js +215 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/floating.js +405 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/menuButton.js +169 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/multiSplit.js +237 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/port-helper-attribute-field.js +444 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/port-helper-multi-split.js +71 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/scopes.js +187 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/settings.js +202 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/subguarded.js +183 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/surface.js +106 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/tab.js +281 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/text.js +33 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/toggleButton.js +57 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/toolbar.js +251 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/ui-plugin.js +169 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/ui.js +181 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/lib/utils.js +104 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/ca/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/de/i18n.js +47 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/i18n.js +75 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/mk/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/pt-br/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/ru/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/uk/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/nls/zh-hans/i18n.js +46 -0
- data/vendor/assets/javascripts/aloha/plugins/common/ui/vendor/jquery-ui-autocomplete-html.js +42 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/lib/undo-plugin.js +165 -134
- data/vendor/assets/javascripts/aloha/plugins/common/undo/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/undo/vendor/undo.js +2 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/lib/attributes-plugin.js +27 -7
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/ca/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/de/i18n.js +5 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/i18n.js +13 -4
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/mk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/pt-br/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/ru/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/uk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/zh-hans/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/captioned-image/css/captioned-image.css +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/captioned-image/lib/captioned-image-plugin.js +555 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/img/icon_cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/lib/cite-plugin.js +369 -308
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/ca/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/de/i18n.js +4 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/i18n.js +12 -3
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/mk/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/pt-br/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/ru/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/uk/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/zh-hans/i18n.js +4 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/add-icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/add.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/comments.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/img/textbox.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/{src/comments.js → lib/comments-plugin.js} +38 -15
- data/vendor/assets/javascripts/aloha/plugins/extra/comments/{src → lib}/comments.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/README.md +1 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/TODO.md +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/cross.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/hourglass.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/img/tick.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/draganddropfiles-plugin.js +1 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dragndropfiles.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dragndropfiles.js +27 -13
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/lib/dropfilesrepository.js +2 -2
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/i18n.js +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/README.md +1 -3
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/css/formatless.css +1 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/img/button.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesshandler.js +76 -46
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesspaste-plugin.js +217 -90
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/de/i18n.js +3 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/i18n.js +10 -5
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/lib/headerids-plugin.js +69 -30
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/de/i18n.js +6 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/i18n.js +14 -4
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/README.md +12 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/css/hints.css +29 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/lib/hints-plugin.js +97 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/package.json +3 -3
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/vendor/tipsy.js +242 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/README +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/lib/imagebrowser-plugin.js +160 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/de/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/i18n.js +15 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/ru/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/imagebrowser/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ad.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ae.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/af.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ag.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ai.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/al.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/am.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/an.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ao.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ar.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/as.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/at.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/au.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/aw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ax.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/az.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ba.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/be.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/br.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/by.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/bz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ca.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/catalonia.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ch.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ci.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ck.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/co.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cx.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/cz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/de.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/do.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/dz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ec.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ee.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/eg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/eh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/en.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/er.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/es.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/et.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/europeanunion.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fam.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/fr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ga.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ge.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/gy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ht.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/hu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/id.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ie.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/il.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/in.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/io.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/iq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ir.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/is.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/it.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/jp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ke.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ki.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/km.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ky.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/kz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/la.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/li.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ls.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/lv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ly.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ma.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/md.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/me.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ml.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mo.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mp.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mq.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ms.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mx.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/my.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/mz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/na.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ne.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ng.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ni.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/no.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/np.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/nz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/om.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pe.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ph.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ps.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/pw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/py.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/qa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/re.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ro.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/rs.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ru.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/rw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sa.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sb.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/scotland.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/se.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sh.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/si.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/so.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/st.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/sz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tj.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tk.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/to.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tv.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/tz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ua.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ug.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/um.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/us.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/uy.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/uz.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/va.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vc.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ve.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vg.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vi.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vn.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/vu.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/wales.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/wf.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ws.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/ye.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/yt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/za.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/zm.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/img/flags/zw.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/lib/linkbrowser-plugin.js +96 -100
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/ca/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/de/i18n.js +6 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/i18n.js +14 -6
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/mk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/pt-br/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/ru/i18n.js +6 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/uk/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/zh-hans/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/ca/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/de/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/i18n.js +37 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/mk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/pt-br/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/ru/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/uk/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/nls/zh-hans/i18n.js +28 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/{proxy.php → proxy.php.example} +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/src/linkchecker.css +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/src/linkchecker.js +28 -15
- data/vendor/assets/javascripts/aloha/plugins/extra/listenforcer/lib/listenforcer-plugin.js +56 -31
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/css/metaview.css +6 -14
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/anchor.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/blockquote.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/button.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/caption.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dd.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/div.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dl.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/dt.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h1.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h2.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h3.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h4.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h5.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/h6.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/hr.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/icon_cite.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/p.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/pre.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/table.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/td.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/img/th.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/lib/metaview-plugin.js +178 -74
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/de/i18n.js +3 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/i18n.js +11 -4
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/css/numerated-headers.css +1 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/img/headers.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/lib/numerated-headers-plugin.js +405 -217
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/ca/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/de/i18n.js +5 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/i18n.js +13 -4
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/mk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/pt-br/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/ru/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/uk/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/zh-hans/i18n.js +5 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/profiler/lib/profiler-plugin.js +29 -10
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/README.md +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/css/ribbon.css +49 -5
- data/vendor/assets/javascripts/aloha/{img → plugins/extra/ribbon/img}/fade-in.png +0 -0
- data/vendor/assets/javascripts/aloha/{img → plugins/extra/ribbon/img}/fade-out.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/lib/ribbon-plugin.js +108 -150
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/css/sourceview.css +18 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/lib/sourceview-plugin.js +252 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/sourceview/vendor/htmlbeautifier.js +468 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/css/textcolor.css +50 -0
- data/vendor/assets/javascripts/aloha/{lib/vendor/ext-3.2.1/resources/images/gray/window/left-right.png → plugins/extra/textcolor/img/icon.png} +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/lib/textcolor-plugin.js +420 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/nls/de/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/textcolor/nls/i18n.js +6 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/lib/toc-plugin.js +56 -39
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/ca/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/de/i18n.js +3 -3
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/i18n.js +11 -3
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/mk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/pt-br/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/ru/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/uk/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/zh-hans/i18n.js +3 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/toc/package.json +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/validation/lib/validation-plugin.js +277 -0
- metadata +293 -508
- data/vendor/assets/javascripts/aloha/css/ext-aloha-reset.css +0 -33
- data/vendor/assets/javascripts/aloha/css/ext-aloha.css +0 -360
- data/vendor/assets/javascripts/aloha/img/base-big.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/aloha-bootstrap.js +0 -28276
- data/vendor/assets/javascripts/aloha/lib/aloha/ecma5.js +0 -194
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohaproxy.js +0 -86
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohareader.js +0 -50
- data/vendor/assets/javascripts/aloha/lib/aloha/ext-alohatreeloader.js +0 -77
- data/vendor/assets/javascripts/aloha/lib/aloha/ext.js +0 -32
- data/vendor/assets/javascripts/aloha/lib/aloha/floatingmenu.js +0 -1496
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.js +0 -34
- data/vendor/assets/javascripts/aloha/lib/aloha/jquery.patch.js +0 -115
- data/vendor/assets/javascripts/aloha/lib/aloha/message.js +0 -115
- data/vendor/assets/javascripts/aloha/lib/aloha/ui-attributefield.js +0 -530
- data/vendor/assets/javascripts/aloha/lib/aloha/ui-browser.js +0 -214
- data/vendor/assets/javascripts/aloha/lib/aloha/ui.js +0 -889
- data/vendor/assets/javascripts/aloha/lib/jquery-plugin.js +0 -49
- data/vendor/assets/javascripts/aloha/lib/order.js +0 -140
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/adapter/jquery/ext-jquery-adapter-debug.js +0 -2470
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/adapter/jquery/ext-jquery-adapter.js +0 -7
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/ext-all-debug.js +0 -47708
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/ext-all.js +0 -13
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/gpl-3.0.txt +0 -674
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/license.txt +0 -42
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/charts.swf +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/ext-all.css +0 -5903
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/ext-all.less +0 -6795
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/css/xtheme-gray.css +0 -1692
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/expressinstall.swf +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/corners-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/corners.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/l-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/l.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/r-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/r.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/tb-blue.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/box/tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-cs.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-lr.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/group-tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-b-noline.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-b.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-bo.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-noline.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow-o.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/button/s-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-add.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/dd/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/editor/tb-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/checkbox.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/clear-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/clear-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/date-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/date-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/error-tip-corners.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/exclamation.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/radio.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/search-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/search-trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/text-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-square.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/form/trigger.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/arrow-left-white.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/arrow-right-white.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/col-move-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/col-move-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/columns.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/dirty.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/done.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/footer-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-blue-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-blue-split.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-split.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid-vista-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hd-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hrow-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-by.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/group-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hd-pop.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-lock.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-lock.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-unlock.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/hmenu-unlock.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/invalid_line.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/mso-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/nowait.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-first-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-first.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-last-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-last.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-next-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-next.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-prev-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/page-prev.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/pick-button.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/refresh.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-check-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/row-sel.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort_asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/sort_desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/grid/wait.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/mini-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/ns-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/ns-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-title-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/panel-title-light-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/stick.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/stuck.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/tab-close-on.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/layout/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/group-checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/item-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/menu-parent.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/menu.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/menu/unchecked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/light-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tool-sprites.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/tools-sprites-trans.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/panel/white-top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/progress/progress-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/qtip/tip-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow-c.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow-lr.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shadow.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/blue-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/calendar.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/glass-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/hd-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/large-loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/left-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/loading-balls.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/right-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/shared/warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/e-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/e-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/ne-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/ne-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/nw-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/nw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/s-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/s-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/se-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/se-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/sw-handle-dark.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/sizer/sw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-v-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/slider/slider-v-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroll-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroll-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/scroller-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tabs/tabs-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/btn-over-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/gray-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/more.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-add.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-between.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-no.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-under.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/drop-yes.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-end.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-line.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/elbow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/folder-open.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/folder.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/leaf.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/loading.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/tree/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-error.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-info.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-question.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/icon-warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-corners.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-right.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/left-right.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/right-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/right-corners.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/default/window/top-bottom.psd +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-cs.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-lr.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/group-tb.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/s-arrow-bo.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/button/s-arrow-o.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/clear-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/date-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/search-trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/trigger-square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/form/trigger.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/gradient-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/col-move-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/col-move-top.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-hrow2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-collapse.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/group-expand.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-first.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-last.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-next.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/page-prev.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/refresh.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/row-expand-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/sort_asc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/grid/sort_desc.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/group-checked.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/item-over-disabled.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/item-over.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/menu/menu-parent.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/light-hd.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tool-sprites.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-corners-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-left-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/panel/white-top-bottom.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/progress/progress-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/qtip/tip-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/s.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/hd-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/left-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/shared/right-btn.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/e-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/ne-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/nw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/s-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/se-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/square.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/sizer/sw-handle.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/slider/slider-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/slider/slider-v-thumb.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroll-left.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroll-right.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/scroller-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-close.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-bg.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tabs/tabs-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-arrow.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/gray-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/more.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/tb-bg.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-minus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/tree/elbow-end-plus.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-error.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-info.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-question.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/icon-warning.gif +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/left-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/left-corners.pspimage +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/right-corners.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/images/gray/window/top-bottom.png +0 -0
- data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/resources/resources.jsb +0 -507
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.json-2.2.min.js +0 -33
- data/vendor/assets/javascripts/aloha/lib/vendor/jquery.store.js +0 -470
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/align/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/block/lib/jquery-ui-1.8.16.custom.min.js +0 -198
- data/vendor/assets/javascripts/aloha/plugins/common/format/css/format.css +0 -8
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/eo/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/fi/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/it/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/format/nls/pl/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/image/AGPL3 +0 -661
- data/vendor/assets/javascripts/aloha/plugins/common/image/LICENSE +0 -25
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/crop.html +0 -76
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/crop.php +0 -21
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/cropnresize.jpg +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/image/demo/index.html +0 -120
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/cz/i18n.js +0 -16
- data/vendor/assets/javascripts/aloha/plugins/common/image/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/image/test/test.css +0 -12
- data/vendor/assets/javascripts/aloha/plugins/common/image/test/test.html +0 -40
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/jquery-ui-1.8.10.custom.min.js +0 -97
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/jquery-ui-1.8.10.cropnresize.css +0 -33
- data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/ui/ui-lightness/jquery-ui-1.8.10.custom.css +0 -314
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/background.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/external-link-ltr-icon.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/index.css +0 -91
- data/vendor/assets/javascripts/aloha/plugins/common/link/demo/index.html +0 -91
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/fr/i18n.js +0 -6
- data/vendor/assets/javascripts/aloha/plugins/common/link/nls/pl/i18n.js +0 -6
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/eo/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/fi/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/list/nls/it/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/paste/README.md +0 -3
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/eo/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/fi/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/it/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/table/nls/pl/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/common/undo/demo/index.css +0 -49
- data/vendor/assets/javascripts/aloha/plugins/common/undo/demo/index.html +0 -85
- data/vendor/assets/javascripts/aloha/plugins/extra/attributes/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browser.css +0 -360
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browser.jqgrid.css +0 -374
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/jquery-ui-1.8.13.custom.css +0 -319
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/ui.jqgrid.css +0 -148
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-000-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-180.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-315-medium.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-stop-180.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow-stop.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/arrow.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/control-stop-square-small.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/folder-horizontal-open.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/folder-open.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-file.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-image.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/gcn-icons/gcn-icon-page.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/magnifier-left.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/page.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/picture.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/sort-alphabet-descending.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/sort-alphabet.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/img/throbber.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/browser-plugin.js +0 -10
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/browser.js +0 -1126
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/locale.js +0 -26
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/de.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/de/i18n.js +0 -18
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/en.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/en/i18n.js +0 -18
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/nls/i18n.js +0 -4
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.ui.js +0 -761
- data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/ui-layout.js +0 -113
- data/vendor/assets/javascripts/aloha/plugins/extra/cite/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/AGPL3 +0 -661
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/LICENSE +0 -25
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/index.css +0 -47
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/index.html +0 -101
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/migration/index.css +0 -189
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/migration/index.html +0 -321
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/specs/DragnDropnImage.graphml +0 -677
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/style.css +0 -47
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/demo/upload.php +0 -26
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/i18n/en.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/draganddropfiles/i18n/fr.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/headerids/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/dep/jquery.poshytip.js +0 -470
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/i18n/de.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/i18n/en.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/img/tip-twitter_arrows.gif +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/src/hints.css +0 -61
- data/vendor/assets/javascripts/aloha/plugins/extra/hints/src/hints.js +0 -49
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/fr/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/nls/pl/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/demo/index.css +0 -49
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/demo/index.html +0 -82
- data/vendor/assets/javascripts/aloha/plugins/extra/linkchecker/i18n/en.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/de.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/en.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/metaview/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/index.css +0 -189
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/index.html +0 -139
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/js/aloha-config.js +0 -115
- data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/nls/en/i18n.js +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/ribbon/LICENSE.md +0 -662
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/LICENSE +0 -22
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/README.markdown +0 -65
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/demo/index.html +0 -93
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/img/cms-decoupled-communications.png +0 -0
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/package.json +0 -1
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/backbone-min.js +0 -27
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/underscore-min.js +0 -25
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-aloha.js +0 -74
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-collectionmanager.js +0 -70
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie-containermanager.js +0 -263
- data/vendor/assets/javascripts/aloha/plugins/extra/vie/src/vie.js +0 -20
@@ -1,5 +1,5 @@
|
|
1
1
|
define(
|
2
|
-
['
|
2
|
+
['jquery'],
|
3
3
|
function (jQuery) {
|
4
4
|
/**
|
5
5
|
* Initialize of the CreateLayer object
|
@@ -112,7 +112,10 @@ function (jQuery) {
|
|
112
112
|
// append layer to body and
|
113
113
|
// hide the create layer if user clicks anywhere in the body
|
114
114
|
jQuery('body').append(layer).bind('click', function(e) {
|
115
|
-
|
115
|
+
// If the layer is visible and the event target is not the
|
116
|
+
// button itself or a descendant of the button, hide the
|
117
|
+
// layer.
|
118
|
+
if (that.visible && !(e.target === that.get('target')[0] || jQuery.contains(that.get('target')[0], e.target))) {
|
116
119
|
that.hide();
|
117
120
|
}
|
118
121
|
});
|
@@ -1,6 +1,6 @@
|
|
1
|
-
define(
|
2
|
-
|
3
|
-
|
1
|
+
define(['jquery'], function ($) {
|
2
|
+
'use strict';
|
3
|
+
|
4
4
|
var Utils = {
|
5
5
|
/**
|
6
6
|
* Translates the DOM-Element column offset of a table-cell to the
|
@@ -44,7 +44,7 @@ function ($) {
|
|
44
44
|
var cell = cells[ci];
|
45
45
|
var colspan = Utils.colspan(cell);
|
46
46
|
var rowspan = Utils.rowspan(cell);
|
47
|
-
|
47
|
+
|
48
48
|
while (adjust[ci + skip]) {
|
49
49
|
adjust[ci + skip] -= 1;
|
50
50
|
skip += 1;
|
@@ -53,7 +53,7 @@ function ($) {
|
|
53
53
|
if (false === callback(ri, ci, ci + skip, colspan, rowspan)) {
|
54
54
|
return;
|
55
55
|
}
|
56
|
-
|
56
|
+
|
57
57
|
for (var i = 0; i < colspan; i++) {
|
58
58
|
if (adjust[ci + skip + i] ) {
|
59
59
|
throw "an impossible case has occurred";
|
@@ -140,7 +140,7 @@ function ($) {
|
|
140
140
|
var cellInfo = grid[ri][gridCi];
|
141
141
|
if ( 0 === cellInfo.spannedY ) {
|
142
142
|
return cellInfo.cell;
|
143
|
-
}
|
143
|
+
}
|
144
144
|
gridCi -= cellInfo.spannedX + 1;
|
145
145
|
} while (gridCi >= 0);
|
146
146
|
return null;
|
@@ -185,8 +185,9 @@ function ($) {
|
|
185
185
|
}
|
186
186
|
}
|
187
187
|
}
|
188
|
-
|
189
|
-
$cell.removeAttr('
|
188
|
+
// Note that attribute case (colSpan instead of colspan) matters on IE7.
|
189
|
+
$cell.removeAttr('colSpan');
|
190
|
+
$cell.removeAttr('rowSpan');
|
190
191
|
},
|
191
192
|
/**
|
192
193
|
* @param cell
|
@@ -349,7 +350,145 @@ function ($) {
|
|
349
350
|
}
|
350
351
|
}
|
351
352
|
return true;
|
353
|
+
},
|
354
|
+
|
355
|
+
/**
|
356
|
+
* resizes the width of the given cell
|
357
|
+
*
|
358
|
+
* @param cell
|
359
|
+
* the DOM node for a table cell (td/th)
|
360
|
+
* @param
|
361
|
+
* an integer value indicating the desired width
|
362
|
+
*/
|
363
|
+
|
364
|
+
'resizeCellWidth': function(cell, width) {
|
365
|
+
$( cell ).css( 'width', width );
|
366
|
+
$( cell ).find('.aloha-table-cell-editable').eq(0).css({
|
367
|
+
'width': width,
|
368
|
+
'word-wrap': 'break-word'
|
369
|
+
});
|
370
|
+
},
|
371
|
+
|
372
|
+
/**
|
373
|
+
* Get the minimum column width based on the word size
|
374
|
+
*
|
375
|
+
* @param cell
|
376
|
+
* the DOM node for a table cell (td/th)
|
377
|
+
*
|
378
|
+
* @return
|
379
|
+
* the minimum width as an integer value
|
380
|
+
*/
|
381
|
+
'getMinColWidth': function(cell) {
|
382
|
+
var rows = cell.closest( 'tbody' ).children( 'tr' );
|
383
|
+
var cellRow = cell.closest( 'tr' );
|
384
|
+
var gridId = Utils.cellIndexToGridColumn( rows,
|
385
|
+
rows.index( cellRow ),
|
386
|
+
cellRow.children().index( cell )
|
387
|
+
);
|
388
|
+
|
389
|
+
var largestWord = "";
|
390
|
+
|
391
|
+
Utils.walkCells(rows, function(ri, ci, gridCi, colspan, rowspan) {
|
392
|
+
if (gridCi === gridId) {
|
393
|
+
var curCell = $( $( rows[ri] ).children()[ ci ] );
|
394
|
+
|
395
|
+
// skip the cells with a colspan
|
396
|
+
if (colspan > 1) {
|
397
|
+
return;
|
398
|
+
}
|
399
|
+
|
400
|
+
var cellWords = curCell.text().split(" ");
|
401
|
+
|
402
|
+
// pick the largest word in the cell
|
403
|
+
for ( var j = 0; j < cellWords.length; j++ ) {
|
404
|
+
if ( cellWords[j].length > largestWord.length ) {
|
405
|
+
largestWord = cellWords[j];
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}
|
409
|
+
});
|
410
|
+
|
411
|
+
var fakeCell = $("<span></span>");
|
412
|
+
fakeCell.css( 'text-indent', -9999 );
|
413
|
+
fakeCell.css( 'display', 'inline' );
|
414
|
+
fakeCell.text( largestWord );
|
415
|
+
|
416
|
+
$( cell ).append( fakeCell );
|
417
|
+
|
418
|
+
var width = fakeCell.width();
|
419
|
+
|
420
|
+
$( fakeCell ).remove();
|
421
|
+
|
422
|
+
return width;
|
423
|
+
},
|
424
|
+
|
425
|
+
/**
|
426
|
+
* Get the maximum and minimum width a cell can be resized.
|
427
|
+
*
|
428
|
+
* @param gridId
|
429
|
+
* id of the cell based on the virtual grid
|
430
|
+
* @param rows
|
431
|
+
* Collection of rows as DOM objects
|
432
|
+
* @param callback
|
433
|
+
* a callback function
|
434
|
+
*
|
435
|
+
* @return void
|
436
|
+
*/
|
437
|
+
'getCellResizeBoundaries': function(gridId, rows, callback) {
|
438
|
+
var maxPageX, minPageX;
|
439
|
+
|
440
|
+
Utils.walkCells(rows, function(ri, ci, gridCi, colspan, rowspan) {
|
441
|
+
var currentCell = $( $( rows[ri] ).children()[ ci ] );
|
442
|
+
|
443
|
+
// skip the select cells
|
444
|
+
if ( currentCell.hasClass( 'aloha-table-selectrow' ) || currentCell.closest( 'tr' ).hasClass( 'aloha-table-selectcolumn' ) ) {
|
445
|
+
return true;
|
446
|
+
};
|
447
|
+
|
448
|
+
if (gridCi === gridId && colspan === 1) {
|
449
|
+
maxPageX = currentCell.offset().left + Utils.getCellBorder(currentCell) + currentCell.width() - Utils.getMinColWidth( currentCell );
|
450
|
+
}
|
451
|
+
|
452
|
+
if (gridCi === gridId - 1 && colspan === 1) {
|
453
|
+
minPageX = currentCell.offset().left + Utils.getCellBorder(currentCell) + Utils.getCellPadding(currentCell) + Utils.getMinColWidth( currentCell );
|
454
|
+
}
|
455
|
+
|
456
|
+
// if both max page x and min page x is set,
|
457
|
+
// stop walking over the cells.
|
458
|
+
if ( maxPageX && minPageX ) {
|
459
|
+
callback(maxPageX, minPageX);
|
460
|
+
return false;
|
461
|
+
}
|
462
|
+
});
|
463
|
+
},
|
464
|
+
|
465
|
+
/**
|
466
|
+
* Get the border width of the cell
|
467
|
+
*
|
468
|
+
* @param cell
|
469
|
+
* the DOM node for a table cell (td/th)
|
470
|
+
*
|
471
|
+
* @return
|
472
|
+
* the border width as an integer value
|
473
|
+
*/
|
474
|
+
'getCellBorder': function(cell) {
|
475
|
+
return ( (cell.outerWidth() - cell.innerWidth()) / 2 );
|
476
|
+
},
|
477
|
+
|
478
|
+
/**
|
479
|
+
* Get the padding of the cell
|
480
|
+
*
|
481
|
+
* @param cell
|
482
|
+
* the DOM node for a table cell (td/th)
|
483
|
+
*
|
484
|
+
* @return
|
485
|
+
* the padding as an integer value
|
486
|
+
*/
|
487
|
+
'getCellPadding': function(cell) {
|
488
|
+
return ( cell.innerWidth() - cell.width() );
|
352
489
|
}
|
490
|
+
|
353
491
|
};
|
492
|
+
|
354
493
|
return Utils;
|
355
494
|
});
|
@@ -1,35 +1,71 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
/* table-plugin.js is part of Aloha Editor project http://aloha-editor.org
|
2
|
+
*
|
3
|
+
* Aloha Editor is a WYSIWYG HTML5 inline editing library and editor.
|
4
|
+
* Copyright (c) 2010-2013 Gentics Software GmbH, Vienna, Austria.
|
5
|
+
* Contributors http://aloha-editor.org/contribution.php
|
6
|
+
*
|
7
|
+
* Aloha Editor is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU General Public License
|
9
|
+
* as published by the Free Software Foundation; either version 2
|
10
|
+
* of the License, or any later version.
|
11
|
+
*
|
12
|
+
* Aloha Editor is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
* GNU General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU General Public License
|
18
|
+
* along with this program; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20
|
+
*
|
21
|
+
* As an additional permission to the GNU GPL version 2, you may distribute
|
22
|
+
* non-source (e.g., minimized or compacted) forms of the Aloha-Editor
|
23
|
+
* source code without the copy of the GNU GPL normally required,
|
24
|
+
* provided you include this license notice and a URL through which
|
25
|
+
* recipients can access the Corresponding Source.
|
26
|
+
*/
|
27
|
+
define([
|
9
28
|
'aloha',
|
10
|
-
'
|
29
|
+
'jquery',
|
11
30
|
'aloha/plugin',
|
12
31
|
'aloha/pluginmanager',
|
13
|
-
'
|
32
|
+
'ui/ui',
|
33
|
+
'ui/scopes',
|
34
|
+
'ui/button',
|
35
|
+
'ui/toggleButton',
|
36
|
+
'ui/dialog',
|
37
|
+
'ui/port-helper-attribute-field',
|
38
|
+
'ui/port-helper-multi-split',
|
14
39
|
'i18n!table/nls/i18n',
|
15
40
|
'i18n!aloha/nls/i18n',
|
16
41
|
'table/table-create-layer',
|
17
42
|
'table/table',
|
18
43
|
'table/table-plugin-utils',
|
19
|
-
'
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
44
|
+
'util/dom',
|
45
|
+
'aloha/console'
|
46
|
+
], function(
|
47
|
+
Aloha,
|
48
|
+
jQuery,
|
49
|
+
Plugin,
|
50
|
+
PluginManager,
|
51
|
+
Ui,
|
52
|
+
Scopes,
|
53
|
+
Button,
|
54
|
+
ToggleButton,
|
55
|
+
Dialog,
|
56
|
+
AttributeField,
|
57
|
+
MultiSplitButton,
|
58
|
+
i18n,
|
59
|
+
i18nCore,
|
60
|
+
CreateLayer,
|
61
|
+
Table,
|
62
|
+
Utils,
|
63
|
+
Dom,
|
64
|
+
Console
|
65
|
+
) {
|
66
|
+
var $ = jQuery;
|
31
67
|
var GENTICS = window.GENTICS;
|
32
|
-
|
68
|
+
|
33
69
|
/**
|
34
70
|
* Register the TablePlugin as Aloha.Plugin
|
35
71
|
*/
|
@@ -42,11 +78,6 @@ define( [
|
|
42
78
|
*/
|
43
79
|
TablePlugin.createLayer = undefined;
|
44
80
|
|
45
|
-
/**
|
46
|
-
* Configure the available languages
|
47
|
-
*/
|
48
|
-
TablePlugin.languages = ['en', 'de', 'fr', 'eo', 'fi', 'ru', 'it', 'pl'];
|
49
|
-
|
50
81
|
/**
|
51
82
|
* default button configuration
|
52
83
|
*/
|
@@ -81,104 +112,197 @@ define( [
|
|
81
112
|
selectionArea : 10 // width/height of the selection rows (in pixel)
|
82
113
|
};
|
83
114
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
115
|
+
/**
|
116
|
+
* @hide
|
117
|
+
* {name:'green', text:'Green',tooltip:'Green',iconClass:'GENTICS_table GENTICS_button_green',cssClass:'green'}
|
118
|
+
*/
|
119
|
+
TablePlugin.checkConfig = function (c){
|
120
|
+
if (typeof c == 'object' && c.length) {
|
121
|
+
var newC = [];
|
122
|
+
|
123
|
+
for (var i = 0; i < c.length; i++) {
|
124
|
+
if (c[i]) {
|
125
|
+
newC.push({
|
126
|
+
name : c[i].name,
|
127
|
+
text : c[i].text ? c[i].text : c[i].name,
|
128
|
+
tooltip : c[i].tooltip ? c[i].tooltip : c[i].text,
|
129
|
+
iconClass : c[i].iconClass ? c[i].iconClass : 'aloha-icon-' + c[i].name,
|
130
|
+
cssClass : c[i].cssClass ? c[i].cssClass : c[i].name
|
131
|
+
});
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
c = newC;
|
136
|
+
} else {
|
137
|
+
c = [];
|
138
|
+
}
|
139
|
+
|
140
|
+
return c;
|
141
|
+
};
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Checks whether the given DOM element is nested within a table.
|
145
|
+
*
|
146
|
+
* @param {jQuery.<HTMLElement>} $element
|
147
|
+
* @return {boolean} True if the given element is nested in a table.
|
148
|
+
*/
|
149
|
+
function isWithinTable($element) {
|
150
|
+
return 0 < $element.parents('.aloha-editable table').length;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Checks whether the given DOM element is nested within an aloha block.
|
155
|
+
*
|
156
|
+
* @param {jQuery.<HTMLElement>} $element
|
157
|
+
* @return {boolean} True if the given element is nested in an aloha block.
|
158
|
+
*/
|
159
|
+
function isWithinBlock($element) {
|
160
|
+
var i;
|
161
|
+
var $node;
|
162
|
+
var $parents = $element.parents();
|
163
|
+
for (i = 0; i < $parents.length; i++) {
|
164
|
+
$node = $parents.eq(i);
|
165
|
+
if ($node.is('.aloha-editable')) {
|
166
|
+
return false;
|
167
|
+
}
|
168
|
+
if ($node.is('.aloha-block')) {
|
169
|
+
return true;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
return false;
|
173
|
+
}
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Checks whether the table is an editable element.
|
177
|
+
*
|
178
|
+
* @return {boolean} True if the table's parent element is contentEditable;
|
179
|
+
* false otherwise.
|
180
|
+
*/
|
181
|
+
function isEditableTable(table) {
|
182
|
+
return GENTICS.Utils.Dom.isEditable(table);
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Checks for the presence of nested tables in the given element.
|
187
|
+
*
|
188
|
+
* @param {jQuery.<HTMLElement>} $element jQuery unit set containing a DOM
|
189
|
+
* element.
|
190
|
+
* @return {boolean} True if nested tables were detected; false otherwise.
|
191
|
+
*/
|
192
|
+
function checkForNestedTables($element) {
|
193
|
+
var selector = $element.is('table') ? 'table' : 'table table';
|
194
|
+
if ($element.find(selector).length) {
|
195
|
+
Console.warn('Table Plugin',
|
196
|
+
'Nested tables found. They will not be initialized.');
|
197
|
+
return true;
|
198
|
+
}
|
199
|
+
return false;
|
200
|
+
}
|
201
|
+
|
202
|
+
/**
|
203
|
+
* Creates a table, if it is allowed, and registers a new Table object for
|
204
|
+
* the given table DOM element.
|
205
|
+
*
|
206
|
+
* If the table's editable parent is activated, the table will also
|
207
|
+
* automatically be activated.
|
208
|
+
*
|
209
|
+
* @param {HTMLElement} element HTML table element.
|
210
|
+
* @return {Table|null} The created Table object or null if it was not
|
211
|
+
* allowed to create the table.
|
212
|
+
*/
|
213
|
+
function createNewTable(element) {
|
214
|
+
var $table = $(element);
|
215
|
+
var create = isEditableTable(element)
|
216
|
+
&& !isWithinTable($table)
|
217
|
+
&& !isWithinBlock($table);
|
218
|
+
if (create) {
|
219
|
+
var table = new Table(element, TablePlugin);
|
220
|
+
var $host = $(Dom.getEditingHostOf(element));
|
221
|
+
table.parentEditable = Aloha.getEditableById($host.attr('id'));
|
222
|
+
TablePlugin.TableRegistry.push(table);
|
223
|
+
checkForNestedTables($table);
|
224
|
+
if (Aloha.activeEditable === table.parentEditable) {
|
225
|
+
table.activate();
|
226
|
+
}
|
227
|
+
return table;
|
228
|
+
}
|
229
|
+
return null;
|
230
|
+
}
|
231
|
+
|
112
232
|
/**
|
113
233
|
* Init method of the Table-plugin transforms all tables in the document
|
114
234
|
*
|
115
235
|
* @return void
|
116
236
|
*/
|
117
237
|
TablePlugin.init = function() {
|
238
|
+
var that = this,
|
239
|
+
isEnabled = {};
|
118
240
|
|
119
241
|
// apply settings
|
120
242
|
this.tableConfig = this.checkConfig(this.tableConfig||this.settings.tableConfig);
|
121
243
|
this.columnConfig = this.checkConfig(this.columnConfig||this.settings.columnConfig);
|
122
244
|
this.rowConfig = this.checkConfig(this.rowConfig||this.settings.rowConfig);
|
123
|
-
|
245
|
+
this.cellConfig = this.checkConfig(this.cellConfig||this.settings.cellConfig);
|
246
|
+
|
247
|
+
// table resize settings
|
248
|
+
this.tableResize = this.settings.tableResize === undefined ? false : this.settings.tableResize;
|
249
|
+
this.colResize = this.settings.colResize === undefined ? false : this.settings.colResize;
|
250
|
+
this.rowResize = this.settings.rowResize === undefined ? false : this.settings.rowResize;
|
251
|
+
|
252
|
+
// disable table resize settings on browsers below IE8
|
253
|
+
if (jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 8) {
|
254
|
+
this.tableResize = false;
|
255
|
+
this.colResize = false;
|
256
|
+
this.rowResize = false;
|
257
|
+
}
|
258
|
+
|
124
259
|
// add reference to the create layer object
|
125
260
|
this.createLayer = new CreateLayer( this );
|
126
261
|
|
127
|
-
var that = this;
|
128
|
-
|
129
262
|
// subscribe for the 'editableActivated' event to activate all tables in the editable
|
130
|
-
Aloha.bind( 'aloha-editable-created', function (
|
263
|
+
Aloha.bind( 'aloha-editable-created', function (event, editable) {
|
264
|
+
var config = that.getEditableConfig(editable.obj);
|
265
|
+
isEnabled[editable.getId()] = (-1 !== jQuery.inArray('table', config));
|
131
266
|
|
132
267
|
// add a mousedown event to all created editables to check if focus leaves a table
|
133
268
|
editable.obj.bind( 'mousedown', function ( jqEvent ) {
|
134
269
|
TablePlugin.setFocusedTable( undefined );
|
135
270
|
} );
|
136
271
|
|
137
|
-
editable.obj.find(
|
138
|
-
|
139
|
-
|
140
|
-
!TablePlugin.isWithinTable( this ) ) {
|
141
|
-
var table = new Table( this, TablePlugin );
|
142
|
-
table.parentEditable = editable;
|
143
|
-
// table.activate();
|
144
|
-
TablePlugin.TableRegistry.push( table );
|
145
|
-
}
|
146
|
-
|
147
|
-
TablePlugin.checkForNestedTables( editable.obj );
|
148
|
-
} );
|
272
|
+
editable.obj.find('table').each(function (__unused__, elem) {
|
273
|
+
createNewTable(elem);
|
274
|
+
});
|
149
275
|
} );
|
150
276
|
|
151
277
|
// initialize the table buttons
|
152
278
|
this.initTableButtons();
|
153
279
|
|
154
280
|
Aloha.bind( 'aloha-table-selection-changed', function () {
|
155
|
-
if ( null != TablePlugin.activeTable &&
|
156
|
-
0 !== TablePlugin.activeTable.selection.selectedCells.length ) {
|
157
|
-
TablePlugin.updateFloatingMenuScope();
|
158
|
-
}
|
159
281
|
|
160
282
|
// check if selected cells are split/merge able and set button status
|
161
283
|
if ( typeof TablePlugin.activeTable !== 'undefined' &&
|
162
284
|
TablePlugin.activeTable.selection ) {
|
163
285
|
|
286
|
+
TablePlugin.updateFloatingMenuScope();
|
287
|
+
|
164
288
|
if ( TablePlugin.activeTable.selection.cellsAreSplitable() ) {
|
165
|
-
that.
|
166
|
-
that.
|
167
|
-
that.
|
289
|
+
that._splitcellsButton.enable(true);
|
290
|
+
that._splitcellsRowButton.enable(true);
|
291
|
+
that._splitcellsColumnButton.enable(true);
|
168
292
|
} else {
|
169
|
-
that.
|
170
|
-
that.
|
171
|
-
that.
|
293
|
+
that._splitcellsButton.enable(false);
|
294
|
+
that._splitcellsRowButton.enable(false);
|
295
|
+
that._splitcellsColumnButton.enable(false);
|
172
296
|
}
|
173
297
|
|
174
298
|
if ( TablePlugin.activeTable.selection.cellsAreMergeable() ) {
|
175
|
-
that.
|
176
|
-
that.
|
177
|
-
that.
|
299
|
+
that._mergecellsButton.enable(true);
|
300
|
+
that._mergecellsRowButton.enable(true);
|
301
|
+
that._mergecellsColumnButton.enable(true);
|
178
302
|
} else {
|
179
|
-
that.
|
180
|
-
that.
|
181
|
-
that.
|
303
|
+
that._mergecellsButton.enable(false);
|
304
|
+
that._mergecellsRowButton.enable(false);
|
305
|
+
that._mergecellsColumnButton.enable(false);
|
182
306
|
}
|
183
307
|
}
|
184
308
|
|
@@ -186,117 +310,87 @@ define( [
|
|
186
310
|
|
187
311
|
Aloha.bind( 'aloha-selection-changed', function (event, rangeObject) {
|
188
312
|
// this case probably occurs when the selection is empty?
|
189
|
-
if (
|
313
|
+
if (!rangeObject.startContainer || !Aloha.activeEditable) {
|
190
314
|
return;
|
191
315
|
}
|
192
316
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
that.createTableButton.show();
|
200
|
-
} else {
|
201
|
-
that.createTableButton.hide();
|
202
|
-
}
|
203
|
-
|
204
|
-
var table = rangeObject.findMarkup(function () {
|
205
|
-
return this.nodeName.toLowerCase() == 'table';
|
206
|
-
}, Aloha.activeEditable.obj);
|
317
|
+
// show hide buttons regarding configuration and DOM position
|
318
|
+
if (isEnabled[Aloha.activeEditable.getId()] && Aloha.Selection.mayInsertTag('table') ) {
|
319
|
+
that._createTableButton.show();
|
320
|
+
} else {
|
321
|
+
that._createTableButton.hide();
|
322
|
+
}
|
207
323
|
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
TablePlugin.updateFloatingMenuScope();
|
212
|
-
} else {
|
213
|
-
//reset cell selection flags
|
214
|
-
that.activeTable.selection.cellSelectionMode = false;
|
215
|
-
that.activeTable.selection.baseCellPosition = null;
|
216
|
-
that.activeTable.selection.lastSelectionRange = null;
|
217
|
-
|
218
|
-
that.activeTable.focusOut();
|
219
|
-
}
|
220
|
-
}
|
324
|
+
if (!that.activeTable) {
|
325
|
+
return;
|
326
|
+
}
|
221
327
|
|
222
|
-
|
223
|
-
|
328
|
+
// check wheater we are inside a table
|
329
|
+
var table = rangeObject.findMarkup(function() {
|
330
|
+
return this.nodeName === 'TABLE';
|
331
|
+
}, Aloha.activeEditable.obj);
|
332
|
+
if (table) {
|
333
|
+
TablePlugin.updateFloatingMenuScope();
|
334
|
+
TablePlugin.setActiveCellStyle();
|
335
|
+
} else {
|
336
|
+
that.activeTable.selection.cellSelectionMode = false;
|
337
|
+
that.activeTable.selection.baseCellPosition = null;
|
338
|
+
that.activeTable.selection.lastSelectionRange = null;
|
339
|
+
that.activeTable.focusOut();
|
224
340
|
}
|
225
341
|
});
|
226
342
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
that.
|
231
|
-
that.
|
232
|
-
that.
|
233
|
-
that.
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
for (var i = 0; i < tr.length; i++) {
|
241
|
-
if (tr[i].obj.attr('id') == jQuery(this).attr('id')) {
|
242
|
-
// activate the table
|
243
|
-
tr[i].activate();
|
244
|
-
// and continue with the next table tag
|
343
|
+
Aloha.bind('aloha-editable-activated', function (__event__, data) {
|
344
|
+
that._splitcellsButton.enable(false);
|
345
|
+
that._mergecellsButton.enable(false);
|
346
|
+
that._splitcellsRowButton.enable(false);
|
347
|
+
that._mergecellsRowButton.enable(false);
|
348
|
+
that._splitcellsColumnButton.enable(false);
|
349
|
+
that._mergecellsColumnButton.enable(false);
|
350
|
+
|
351
|
+
data.editable.obj.find('table').each(function () {
|
352
|
+
var registry = TablePlugin.TableRegistry;
|
353
|
+
for (var i = 0; i < registry.length; i++) {
|
354
|
+
if (registry[i].obj.attr('id') === jQuery(this).attr('id')) {
|
355
|
+
registry[i].activate();
|
245
356
|
return true;
|
246
357
|
}
|
247
358
|
}
|
248
359
|
|
249
|
-
//
|
250
|
-
//
|
251
|
-
|
252
|
-
!TablePlugin.isWithinTable( this ) ) {
|
253
|
-
var table = new Table( this, TablePlugin );
|
254
|
-
table.parentEditable = props.editable;
|
255
|
-
table.activate();
|
256
|
-
TablePlugin.TableRegistry.push( table );
|
257
|
-
}
|
258
|
-
|
259
|
-
TablePlugin.checkForNestedTables( props.editable.obj );
|
360
|
+
// Because table this is a new table that is not yet in the
|
361
|
+
// registry.
|
362
|
+
createNewTable(this);
|
260
363
|
});
|
364
|
+
|
261
365
|
});
|
262
366
|
|
263
|
-
|
264
|
-
Aloha.bind( 'aloha-editable-deactivated', function (event, properties) {
|
367
|
+
Aloha.bind('aloha-editable-deactivated', function () {
|
265
368
|
if (TablePlugin.activeTable) {
|
266
369
|
TablePlugin.activeTable.selection.unselectCells();
|
267
370
|
}
|
268
371
|
TablePlugin.setFocusedTable(undefined);
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
for (var i = 0; i < tr.length; i++) {
|
273
|
-
// activate the table
|
274
|
-
tr[i].deactivate();
|
372
|
+
var registry = TablePlugin.TableRegistry;
|
373
|
+
for (var i = 0; i < registry.length; i++) {
|
374
|
+
registry[i].deactivate();
|
275
375
|
}
|
276
376
|
});
|
277
|
-
|
278
|
-
Aloha.bind(
|
279
|
-
if (
|
280
|
-
Aloha.activeEditable.obj.find(
|
281
|
-
if (
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
var table = new Table( this, TablePlugin );
|
286
|
-
table.parentEditable = Aloha.activeEditable;
|
287
|
-
TablePlugin.TableRegistry.push( table );
|
288
|
-
table.activate();
|
377
|
+
|
378
|
+
Aloha.bind('aloha-smart-content-changed', function () {
|
379
|
+
if (Aloha.activeEditable) {
|
380
|
+
Aloha.activeEditable.obj.find('table').each(function () {
|
381
|
+
if (TablePlugin.indexOfTableInRegistry(this) == -1) {
|
382
|
+
if (createNewTable(this)) {
|
383
|
+
this.id = GENTICS.Utils.guid();
|
384
|
+
}
|
289
385
|
}
|
290
|
-
|
291
|
-
TablePlugin.checkForNestedTables( Aloha.activeEditable.obj );
|
292
|
-
} );
|
386
|
+
});
|
293
387
|
}
|
294
|
-
}
|
295
|
-
|
296
|
-
if (
|
297
|
-
Aloha.
|
298
|
-
that.initSidebar(
|
299
|
-
}
|
388
|
+
});
|
389
|
+
|
390
|
+
if (this.settings.summaryinsidebar) {
|
391
|
+
Aloha.bind('aloha-plugins-loaded', function () {
|
392
|
+
that.initSidebar(Aloha.Sidebar.right.show());
|
393
|
+
});
|
300
394
|
}
|
301
395
|
};
|
302
396
|
|
@@ -306,34 +400,34 @@ define( [
|
|
306
400
|
function nsSel () {
|
307
401
|
var stringBuilder = [], prefix = tableNamespace;
|
308
402
|
jQuery.each(arguments, function () { stringBuilder.push('.' + (this == '' ? prefix : prefix + '-' + this)); });
|
309
|
-
return stringBuilder.join(' ')
|
403
|
+
return jQuery.trim(stringBuilder.join(' '));
|
310
404
|
};
|
311
405
|
|
312
406
|
//Creates string with this component's namepsace prefixed the each classname
|
313
407
|
function nsClass () {
|
314
408
|
var stringBuilder = [], prefix = tableNamespace;
|
315
409
|
jQuery.each(arguments, function () { stringBuilder.push(this == '' ? prefix : prefix + '-' + this); });
|
316
|
-
return stringBuilder.join(' ')
|
410
|
+
return jQuery.trim(stringBuilder.join(' '));
|
317
411
|
};
|
318
412
|
|
319
413
|
TablePlugin.initSidebar = function(sidebar) {
|
320
414
|
var pl = this;
|
321
415
|
pl.sidebar = sidebar;
|
322
|
-
sidebar.addPanel({
|
323
|
-
|
416
|
+
pl.sidebarPanel = sidebar.addPanel({
|
417
|
+
|
324
418
|
id : nsClass('sidebar-panel'),
|
325
419
|
title : i18n.t('table.sidebar.title'),
|
326
420
|
content : '',
|
327
421
|
expanded : true,
|
328
422
|
activeOn : 'table',
|
329
|
-
|
423
|
+
|
330
424
|
onInit : function () {
|
331
425
|
var that = this,
|
332
426
|
content = this.setContent(
|
333
427
|
'<label class="' + nsClass('label') + '" for="' + nsClass('textarea') + '" >' + i18n.t('table.label.target') + '</label>' +
|
334
428
|
'<textarea id="' + nsClass('textarea') + '" class="' + nsClass('textarea') + '" />').content;
|
335
|
-
|
336
|
-
jQuery(nsSel('textarea')).live('keyup', function() {
|
429
|
+
|
430
|
+
jQuery(nsSel('textarea')).live('keyup', function() {
|
337
431
|
//The original developer thought that escaping the
|
338
432
|
//quote characters of the textarea value are
|
339
433
|
//necessary to work around a bug in IE. I could not
|
@@ -344,7 +438,7 @@ define( [
|
|
344
438
|
var waiDiv = jQuery('div[class*="wai"]', 'table#' + jQuery(that.effective).attr('id'));
|
345
439
|
waiDiv.removeClass(pl.get('waiGreen'));
|
346
440
|
waiDiv.removeClass(pl.get('waiRed'));
|
347
|
-
|
441
|
+
|
348
442
|
if (jQuery(nsSel('textarea')).val().trim() != '') {
|
349
443
|
waiDiv.addClass(pl.get('waiGreen'));
|
350
444
|
} else {
|
@@ -352,13 +446,13 @@ define( [
|
|
352
446
|
}
|
353
447
|
});
|
354
448
|
},
|
355
|
-
|
449
|
+
|
356
450
|
onActivate: function (effective) {
|
357
451
|
var that = this;
|
358
452
|
that.effective = effective;
|
359
453
|
jQuery(nsSel('textarea')).val(jQuery(that.effective).attr('summary'));
|
360
454
|
}
|
361
|
-
|
455
|
+
|
362
456
|
});
|
363
457
|
sidebar.show();
|
364
458
|
};
|
@@ -370,25 +464,25 @@ define( [
|
|
370
464
|
TablePlugin.isEditableTable = function (table) {
|
371
465
|
return GENTICS.Utils.Dom.isEditable( table );
|
372
466
|
};
|
373
|
-
|
467
|
+
|
374
468
|
/**
|
375
469
|
* @param {DOMElement} table
|
376
470
|
* @return {Number}
|
377
471
|
*/
|
378
472
|
TablePlugin.indexOfTableInRegistry = function ( table ) {
|
379
473
|
var registry = this.TableRegistry;
|
380
|
-
|
474
|
+
|
381
475
|
for ( var i = 0; i < registry.length; i++ ) {
|
382
|
-
// We need to find exactly the same object from the
|
476
|
+
// We need to find exactly the same object from the
|
383
477
|
// registry since we could also deal with cloned objects
|
384
478
|
if ( registry[ i ].obj[ 0 ].id == table.id ) {
|
385
479
|
return i;
|
386
480
|
}
|
387
481
|
}
|
388
|
-
|
482
|
+
|
389
483
|
return -1;
|
390
484
|
};
|
391
|
-
|
485
|
+
|
392
486
|
/**
|
393
487
|
* @param {DOMElement} table
|
394
488
|
* @return {Table}
|
@@ -400,7 +494,7 @@ define( [
|
|
400
494
|
}
|
401
495
|
return null;
|
402
496
|
};
|
403
|
-
|
497
|
+
|
404
498
|
/**
|
405
499
|
* Checks whether the current selection is inside a table within an
|
406
500
|
* editable
|
@@ -410,548 +504,518 @@ define( [
|
|
410
504
|
TablePlugin.isSelectionInTable = function () {
|
411
505
|
var range = Aloha.Selection.getRangeObject();
|
412
506
|
var container = jQuery( range.commonAncestorContainer );
|
413
|
-
|
507
|
+
|
414
508
|
if ( container.length == 0 ) {
|
415
509
|
return false;
|
416
510
|
}
|
417
|
-
|
511
|
+
|
418
512
|
if ( container.parents( '.aloha-editable table' ).length ) {
|
419
513
|
return true;
|
420
514
|
}
|
421
|
-
|
515
|
+
|
422
516
|
return false;
|
423
517
|
};
|
424
|
-
|
518
|
+
|
425
519
|
TablePlugin.preventNestedTables = function () {
|
426
520
|
if ( this.isSelectionInTable() ) {
|
427
|
-
|
521
|
+
Dialog.alert({
|
428
522
|
title : i18n.t( 'Table' ),
|
429
|
-
text : i18n.t( 'table.createTable.nestedTablesNoSupported' )
|
430
|
-
|
431
|
-
|
432
|
-
|
523
|
+
text : i18n.t( 'table.createTable.nestedTablesNoSupported' )
|
524
|
+
});
|
525
|
+
|
433
526
|
return true;
|
434
527
|
}
|
435
|
-
|
528
|
+
|
436
529
|
return false;
|
437
530
|
};
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
531
|
+
|
532
|
+
TablePlugin.initMergeSplitCellsBtns = function(){
|
533
|
+
// TODO current it is not possible to add the same buttons to
|
534
|
+
// multiple tabs. To work around this limitation we are
|
535
|
+
// defining the mergecells and splitcells components
|
536
|
+
// multiple times, once for each tab.
|
537
|
+
|
538
|
+
this._mergecellsButton = Ui.adopt("mergecells", Button, {
|
539
|
+
tooltip: i18n.t("button.mergecells.tooltip"),
|
540
|
+
icon: "aloha-icon aloha-icon-mergecells",
|
541
|
+
scope: this.name + '.cell',
|
542
|
+
click: function() {
|
543
|
+
if (TablePlugin.activeTable) {
|
544
|
+
TablePlugin.activeTable.selection.mergeCells();
|
545
|
+
}
|
546
|
+
}
|
547
|
+
});
|
548
|
+
|
549
|
+
this._splitcellsButton = Ui.adopt("splitcells", Button, {
|
550
|
+
tooltip: i18n.t("button.splitcells.tooltip"),
|
551
|
+
icon: "aloha-icon aloha-icon-splitcells",
|
552
|
+
scope: this.name + '.cell',
|
553
|
+
click: function() {
|
554
|
+
if (TablePlugin.activeTable) {
|
555
|
+
TablePlugin.activeTable.selection.splitCells();
|
556
|
+
}
|
557
|
+
}
|
558
|
+
});
|
559
|
+
|
560
|
+
this._mergecellsRowButton = Ui.adopt("mergecellsRow", Button, {
|
561
|
+
tooltip: i18n.t("button.mergecells.tooltip"),
|
562
|
+
icon: "aloha-icon aloha-icon-mergecells",
|
563
|
+
scope: this.name + '.row',
|
564
|
+
click: function() {
|
565
|
+
if (TablePlugin.activeTable) {
|
566
|
+
TablePlugin.activeTable.selection.mergeCells();
|
567
|
+
}
|
568
|
+
}
|
569
|
+
});
|
570
|
+
|
571
|
+
this._splitcellsRowButton = Ui.adopt("splitcellsRow", Button, {
|
572
|
+
tooltip: i18n.t("button.splitcells.tooltip"),
|
573
|
+
icon: "aloha-icon aloha-icon-splitcells",
|
574
|
+
scope: this.name + '.row',
|
575
|
+
click: function() {
|
576
|
+
if (TablePlugin.activeTable) {
|
577
|
+
TablePlugin.activeTable.selection.splitCells();
|
578
|
+
}
|
579
|
+
}
|
580
|
+
});
|
581
|
+
|
582
|
+
this._mergecellsColumnButton = Ui.adopt("mergecellsColumn", Button, {
|
583
|
+
tooltip: i18n.t("button.mergecells.tooltip"),
|
584
|
+
icon: "aloha-icon aloha-icon-mergecells",
|
585
|
+
scope: this.name + '.column',
|
586
|
+
click: function() {
|
587
|
+
if (TablePlugin.activeTable) {
|
588
|
+
TablePlugin.activeTable.selection.mergeCells();
|
589
|
+
}
|
590
|
+
}
|
591
|
+
});
|
592
|
+
|
593
|
+
this._splitcellsColumnButton = Ui.adopt("splitcellsColumn", Button, {
|
594
|
+
tooltip: i18n.t("button.splitcells.tooltip"),
|
595
|
+
icon: "aloha-icon aloha-icon-splitcells",
|
596
|
+
scope: this.name + '.column',
|
597
|
+
click: function() {
|
598
|
+
if (TablePlugin.activeTable) {
|
599
|
+
TablePlugin.activeTable.selection.splitCells();
|
600
|
+
}
|
601
|
+
}
|
602
|
+
});
|
449
603
|
};
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
604
|
+
|
605
|
+
TablePlugin.initNaturalFitBtn = function() {
|
606
|
+
var that = this;
|
607
|
+
|
608
|
+
if (this.colResize || this.rowResize) {
|
609
|
+
this._tableNaturalFitButton = Ui.adopt("naturalFit", Button, {
|
610
|
+
tooltip: i18n.t("button.naturalfit.tooltip"),
|
611
|
+
icon: "aloha-icon aloha-icon-table-naturalfit",
|
612
|
+
scope: this.name + '.cell',
|
613
|
+
click: function() {
|
614
|
+
if (that.activeTable) {
|
615
|
+
var tableObj = that.activeTable.obj;
|
616
|
+
tableObj.find('td').each(function() {
|
617
|
+
jQuery(this).find('div').css('width', '');
|
618
|
+
jQuery(this).css('width', '');
|
619
|
+
});
|
620
|
+
tableObj.find('tr').each(function() {
|
621
|
+
jQuery(this).css('height', '');
|
622
|
+
});
|
623
|
+
}
|
624
|
+
}
|
625
|
+
});
|
461
626
|
}
|
462
627
|
};
|
463
|
-
|
628
|
+
|
464
629
|
/**
|
465
630
|
* Adds default row buttons, and custom formatting buttons to floating menu
|
466
631
|
*/
|
467
632
|
TablePlugin.initRowsBtns = function () {
|
468
633
|
var that = this;
|
469
634
|
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
'tooltip' : i18n.t('button.addrowbefore.tooltip'),
|
478
|
-
'onclick' : function () {
|
479
|
-
if (that.activeTable) {
|
480
|
-
that.activeTable.addRowBeforeSelection();
|
481
|
-
}
|
635
|
+
this._addrowbeforeButton = Ui.adopt("addrowbefore", Button, {
|
636
|
+
tooltip: i18n.t( "button.addrowbefore.tooltip"),
|
637
|
+
icon: "aloha-icon aloha-icon-addrowbefore",
|
638
|
+
scope: this.name + '.row',
|
639
|
+
click: function() {
|
640
|
+
if (that.activeTable) {
|
641
|
+
that.activeTable.addRowBeforeSelection();
|
482
642
|
}
|
483
|
-
}),
|
484
|
-
i18n.t('floatingmenu.tab.table'),
|
485
|
-
1
|
486
|
-
);
|
487
|
-
|
488
|
-
/*
|
489
|
-
// TODO: This would add a icon what would be toggled if the active
|
490
|
-
// editable contains nested tables. We show a warning to indicate to
|
491
|
-
// the user that we do not support nested tables
|
492
|
-
var tabs = FloatingMenu.tabs;
|
493
|
-
var j = tabs.length;
|
494
|
-
for ( var i = 0; i < j; i++ ) {
|
495
|
-
if ( tabs[ i ].label == i18n.t( 'floatingmenu.tab.table' ) ) {
|
496
|
-
tabs[ i ].label += ' <img\
|
497
|
-
src="../img/warning-icon.png"\
|
498
|
-
style="vertical-align:middle;"\
|
499
|
-
alt="" />';
|
500
643
|
}
|
501
|
-
}
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
this.name + '.row',
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
644
|
+
});
|
645
|
+
|
646
|
+
this._addrowafterButton = Ui.adopt("addrowafter", Button, {
|
647
|
+
tooltip: i18n.t("button.addrowafter.tooltip"),
|
648
|
+
icon: "aloha-icon aloha-icon-addrowafter",
|
649
|
+
scope: this.name + '.row',
|
650
|
+
click: function() {
|
651
|
+
if (that.activeTable) {
|
652
|
+
that.activeTable.addRowAfterSelection();
|
653
|
+
}
|
654
|
+
}
|
655
|
+
});
|
656
|
+
|
657
|
+
this._deleterowsButton = Ui.adopt("deleterows", Button, {
|
658
|
+
tooltip: i18n.t("button.delrows.tooltip"),
|
659
|
+
icon: "aloha-icon aloha-icon-deleterows",
|
660
|
+
scope: this.name + '.row',
|
661
|
+
click: function() {
|
662
|
+
if (that.activeTable) {
|
663
|
+
var aTable = that.activeTable;
|
664
|
+
Dialog.confirm({
|
665
|
+
title: i18n.t('Table'),
|
666
|
+
text: i18n.t('deleterows.confirm'),
|
667
|
+
yes: function(){
|
668
|
+
aTable.deleteRows();
|
669
|
+
}
|
670
|
+
});
|
671
|
+
}
|
672
|
+
}
|
673
|
+
});
|
674
|
+
|
675
|
+
this._rowheaderButton = Ui.adopt("rowheader", ToggleButton, {
|
676
|
+
tooltip: i18n.t("button.rowheader.tooltip"),
|
677
|
+
icon: "aloha-icon aloha-icon-rowheader",
|
678
|
+
scope: this.name + '.row',
|
679
|
+
click: function() {
|
680
|
+
if (that.activeTable) {
|
681
|
+
var selectedRowIdxs = that.activeTable.selection.selectedRowIdxs,
|
682
|
+
cell,
|
683
|
+
isHeader = that.activeTable.selection.isHeader(),
|
684
|
+
allHeaders = true; // flag for header check
|
685
|
+
|
686
|
+
// loop through selected cells, determine if any are not already headers
|
687
|
+
for (var j = 0; j < that.activeTable.selection.selectedCells.length; j++) {
|
688
|
+
cell = that.activeTable.selection.selectedCells[j];
|
689
|
+
if ( !isHeader ) {
|
690
|
+
allHeaders = false;
|
691
|
+
break;
|
692
|
+
}
|
693
|
+
}
|
694
|
+
|
695
|
+
// updated selected cells
|
696
|
+
for (var j = 0; j < that.activeTable.selection.selectedCells.length; j++) {
|
697
|
+
cell = that.activeTable.selection.selectedCells[j];
|
698
|
+
if ( allHeaders ) {
|
699
|
+
cell = Aloha.Markup.transformDomObject( cell, 'td' ).removeAttr( 'scope' ).get(0);
|
700
|
+
} else {
|
701
|
+
cell = Aloha.Markup.transformDomObject( cell, 'th' ).attr( 'scope', 'col' ).get(0);
|
702
|
+
}
|
703
|
+
|
704
|
+
jQuery( that.activeTable.selection.selectedCells[j] ).bind( 'mousedown', function ( jqEvent ) {
|
705
|
+
var wrapper = jQuery(this).children('div').eq(0);
|
706
|
+
// lovely IE ;-)
|
707
|
+
window.setTimeout(function () {
|
708
|
+
wrapper.trigger( 'focus' );
|
709
|
+
}, 1);
|
710
|
+
// unselect cells
|
711
|
+
});
|
712
|
+
|
515
713
|
}
|
714
|
+
|
715
|
+
// select the row
|
716
|
+
that.activeTable.refresh();
|
717
|
+
that.activeTable.selection.unselectCells();
|
718
|
+
that.activeTable.selection.selectRows( selectedRowIdxs );
|
516
719
|
}
|
517
|
-
}
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
'tooltip' : i18n.t('button.delrows.tooltip'),
|
530
|
-
'onclick' : function () {
|
720
|
+
}
|
721
|
+
});
|
722
|
+
|
723
|
+
// generate formatting buttons
|
724
|
+
this.rowMSItems = [];
|
725
|
+
jQuery.each(this.rowConfig, function (j, itemConf) {
|
726
|
+
that.rowMSItems.push({
|
727
|
+
name: itemConf.name,
|
728
|
+
text: i18n.t(itemConf.text),
|
729
|
+
tooltip: i18n.t(itemConf.tooltip),
|
730
|
+
iconClass: 'aloha-icon aloha-row-layout ' + itemConf.iconClass,
|
731
|
+
click: function () {
|
531
732
|
if (that.activeTable) {
|
532
|
-
var
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
733
|
+
var sc = that.activeTable.selection.selectedCells;
|
734
|
+
// if a selection was made, transform the selected cells
|
735
|
+
for (var i = 0; i < sc.length; i++) {
|
736
|
+
if ( jQuery(sc[i]).attr('class').indexOf(itemConf.cssClass) > -1 ) {
|
737
|
+
jQuery(sc[i]).removeClass(itemConf.cssClass);
|
738
|
+
} else {
|
739
|
+
jQuery(sc[i]).addClass(itemConf.cssClass);
|
740
|
+
// remove all row formattings
|
741
|
+
for (var f = 0; f < that.rowConfig.length; f++) {
|
742
|
+
if (that.rowConfig[f].cssClass != itemConf.cssClass) {
|
743
|
+
jQuery(sc[i]).removeClass(that.rowConfig[f].cssClass);
|
744
|
+
}
|
540
745
|
}
|
746
|
+
|
541
747
|
}
|
542
|
-
}
|
748
|
+
}
|
749
|
+
// selection could have changed.
|
750
|
+
that.activeTable.selectRows();
|
543
751
|
}
|
544
752
|
}
|
545
|
-
})
|
546
|
-
|
547
|
-
|
548
|
-
)
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
that.rowsToSelect = [];
|
561
|
-
var makeHeader = (
|
562
|
-
sc[0] && sc[0].nodeName.toLowerCase() == 'td' && sc.length == 1 ||
|
563
|
-
sc[0] && sc[0].nodeName.toLowerCase() == 'td' &&
|
564
|
-
sc[1].nodeName.toLowerCase() == 'td' );
|
565
|
-
// if a selection was made, transform the selected cells
|
566
|
-
for (var i = 0; i < sc.length; i++) {
|
567
|
-
// for (var j = 0; j < sc[i].length; j++) {
|
568
|
-
if (i == 0) {
|
569
|
-
that.rowsToSelect.push(sc[i].rowIndex);
|
570
|
-
}
|
571
|
-
|
572
|
-
if ( makeHeader ) {
|
573
|
-
sc[i] = Aloha.Markup.transformDomObject(sc[i], 'th').attr('scope', 'col')[0];
|
574
|
-
} else {
|
575
|
-
sc[i] = Aloha.Markup.transformDomObject(sc[i], 'td').removeAttr('scope')[0];
|
576
|
-
}
|
577
|
-
|
578
|
-
jQuery(sc[i]).bind('mousedown', function (jqEvent) {
|
579
|
-
var wrapper = jQuery(this).children('div').eq(0);
|
580
|
-
setTimeout(function () {
|
581
|
-
wrapper.trigger('focus');
|
582
|
-
}, 1);
|
583
|
-
// unselect cells
|
584
|
-
if (that.activeTable) {
|
585
|
-
that.activeTable.selection.unselectCells();
|
586
|
-
}
|
587
|
-
});
|
588
|
-
|
589
|
-
/*
|
590
|
-
Destructive. For debugging.
|
591
|
-
Indicate directionality of header
|
592
|
-
jQuery(sc[i][j]).html('v');
|
593
|
-
*/
|
594
|
-
// }
|
595
|
-
}
|
596
|
-
|
597
|
-
// selection could have changed.
|
598
|
-
if (that.activeTable) {
|
599
|
-
that.activeTable.refresh();
|
600
|
-
that.activeTable.selectRows();
|
601
|
-
}
|
602
|
-
}
|
603
|
-
}
|
604
|
-
});
|
605
|
-
|
606
|
-
FloatingMenu.addButton(
|
607
|
-
this.name + '.row',
|
608
|
-
this.rowHeader,
|
609
|
-
i18n.t('floatingmenu.tab.table'),
|
610
|
-
1
|
611
|
-
);
|
612
|
-
|
613
|
-
this.btnRowmergecells = new Aloha.ui.Button({
|
614
|
-
'name' : 'rowmergecells',
|
615
|
-
'iconClass' : 'aloha-button aloha-button-merge-cells',
|
616
|
-
'size' : 'small',
|
617
|
-
'tooltip' : i18n.t('button.mergecells.tooltip'),
|
618
|
-
'toggle' : false,
|
619
|
-
'onclick' : function () {
|
620
|
-
if (that.activeTable) {
|
621
|
-
that.activeTable.selection.mergeCells();
|
622
|
-
}
|
623
|
-
}
|
624
|
-
});
|
625
|
-
|
626
|
-
// Add merge/split cells buttons
|
627
|
-
FloatingMenu.addButton(
|
628
|
-
this.name + '.row',
|
629
|
-
this.btnRowmergecells,
|
630
|
-
i18n.t('floatingmenu.tab.table'),
|
631
|
-
1
|
632
|
-
);
|
633
|
-
|
634
|
-
this.btnRowsplitcells = new Aloha.ui.Button({
|
635
|
-
'name' : 'rowsplitcells',
|
636
|
-
'iconClass' : 'aloha-button aloha-button-split-cells',
|
637
|
-
'size' : 'small',
|
638
|
-
'tooltip' : i18n.t('button.splitcells.tooltip'),
|
639
|
-
'toggle' : false,
|
640
|
-
'onclick' : function () {
|
641
|
-
if (that.activeTable) {
|
642
|
-
that.activeTable.selection.splitCells();
|
643
|
-
}
|
644
|
-
}
|
645
|
-
});
|
646
|
-
|
647
|
-
FloatingMenu.addButton(
|
648
|
-
this.name + '.row',
|
649
|
-
this.btnRowsplitcells,
|
650
|
-
i18n.t('floatingmenu.tab.table'),
|
651
|
-
1
|
652
|
-
);
|
653
|
-
|
654
|
-
// generate formatting buttons
|
655
|
-
this.rowMSItems = [];
|
656
|
-
jQuery.each(this.rowConfig, function (j, itemConf) {
|
657
|
-
that.rowMSItems.push({
|
658
|
-
name: itemConf.name,
|
659
|
-
text: i18n.t(itemConf.text),
|
660
|
-
tooltip: i18n.t(itemConf.tooltip),
|
661
|
-
iconClass: 'aloha-button aloha-row-layout ' + itemConf.iconClass,
|
662
|
-
click: function () {
|
663
|
-
if (that.activeTable) {
|
664
|
-
var sc = that.activeTable.selection.selectedCells;
|
665
|
-
// if a selection was made, transform the selected cells
|
666
|
-
for (var i = 0; i < sc.length; i++) {
|
667
|
-
if ( jQuery(sc[i]).attr('class').indexOf(itemConf.cssClass) > -1 ) {
|
668
|
-
jQuery(sc[i]).removeClass(itemConf.cssClass);
|
669
|
-
} else {
|
670
|
-
jQuery(sc[i]).addClass(itemConf.cssClass);
|
671
|
-
// remove all row formattings
|
753
|
+
});
|
754
|
+
});
|
755
|
+
|
756
|
+
if (this.rowMSItems.length > 0) {
|
757
|
+
this.rowMSItems.push({
|
758
|
+
name : 'removeFormat',
|
759
|
+
text : i18n.t('button.removeFormat.text'),
|
760
|
+
tooltip : i18n.t('button.removeFormat.tooltip'),
|
761
|
+
'cls' : 'aloha-ui-multisplit-fullwidth',
|
762
|
+
wide : true,
|
763
|
+
click : function () {
|
764
|
+
if (that.activeTable) {
|
765
|
+
var sc = that.activeTable.selection.selectedCells;
|
766
|
+
// if a selection was made, transform the selected cells
|
767
|
+
for (var i = 0; i < sc.length; i++) {
|
672
768
|
for (var f = 0; f < that.rowConfig.length; f++) {
|
673
|
-
|
674
|
-
jQuery(sc[i]).removeClass(that.rowConfig[f].cssClass);
|
675
|
-
}
|
769
|
+
jQuery(sc[i]).removeClass(that.rowConfig[f].cssClass);
|
676
770
|
}
|
677
|
-
|
678
|
-
}
|
679
|
-
}
|
680
|
-
// selection could have changed.
|
681
|
-
that.activeTable.selectRows();
|
682
|
-
}
|
683
|
-
}
|
684
|
-
});
|
685
|
-
});
|
686
|
-
|
687
|
-
if (this.rowMSItems.length > 0) {
|
688
|
-
this.rowMSItems.push({
|
689
|
-
name: 'removeFormat',
|
690
|
-
text: i18n.t('button.removeFormat.text'),
|
691
|
-
tooltip: i18n.t('button.removeFormat.tooltip'),
|
692
|
-
iconClass: 'aloha-button aloha-button-removeFormat',
|
693
|
-
wide: true,
|
694
|
-
click: function () {
|
695
|
-
if (that.activeTable) {
|
696
|
-
var sc = that.activeTable.selection.selectedCells;
|
697
|
-
// if a selection was made, transform the selected cells
|
698
|
-
for (var i = 0; i < sc.length; i++) {
|
699
|
-
for (var f = 0; f < that.rowConfig.length; f++) {
|
700
|
-
jQuery(sc[i]).removeClass(that.rowConfig[f].cssClass);
|
701
771
|
}
|
772
|
+
// selection could have changed.
|
773
|
+
that.activeTable.selectRows();
|
702
774
|
}
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
* Adds default column buttons, and custom formatting buttons to floating menu
|
727
|
-
*/
|
728
|
-
TablePlugin.initColumnBtns = function () {
|
729
|
-
var that = this;
|
730
|
-
|
731
|
-
// add column left btn
|
732
|
-
FloatingMenu.addButton(
|
733
|
-
this.name + '.column',
|
734
|
-
new Aloha.ui.Button({
|
735
|
-
'name' : 'addcolumnleft',
|
736
|
-
'iconClass' : 'aloha-button aloha-button-addColumnLeft',
|
737
|
-
'size' : 'small',
|
738
|
-
'tooltip' : i18n.t('button.addcolleft.tooltip'),
|
739
|
-
'onclick' : function () {
|
775
|
+
}
|
776
|
+
});
|
777
|
+
}
|
778
|
+
|
779
|
+
this.rowMSButton = MultiSplitButton({
|
780
|
+
items: this.rowMSItems,
|
781
|
+
name: 'formatRow',
|
782
|
+
hideIfEmpty: true,
|
783
|
+
scope: this.name + '.row'
|
784
|
+
});
|
785
|
+
};
|
786
|
+
|
787
|
+
/**
|
788
|
+
* Adds default column buttons, and custom formatting buttons to floating menu
|
789
|
+
*/
|
790
|
+
TablePlugin.initColumnBtns = function () {
|
791
|
+
var that = this;
|
792
|
+
|
793
|
+
this._addcolumnleftButton = Ui.adopt("addcolumnleft", Button, {
|
794
|
+
tooltip: i18n.t("button.addcolleft.tooltip"),
|
795
|
+
icon: "aloha-icon aloha-icon-addcolumnleft",
|
796
|
+
scope: this.name + '.column',
|
797
|
+
click: function() {
|
740
798
|
if (that.activeTable) {
|
741
799
|
that.activeTable.addColumnsLeft();
|
742
800
|
}
|
743
801
|
}
|
744
|
-
})
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
this.name + '.column',
|
752
|
-
new Aloha.ui.Button({
|
753
|
-
'name' : 'addcolumnright',
|
754
|
-
'iconClass' : 'aloha-button aloha-button-addColumnRight',
|
755
|
-
'size' : 'small',
|
756
|
-
'tooltip' : i18n.t('button.addcolright.tooltip'),
|
757
|
-
'onclick' : function () {
|
802
|
+
});
|
803
|
+
|
804
|
+
this._addcolumnrightButton = Ui.adopt("addcolumnright", Button, {
|
805
|
+
tooltip: i18n.t("button.addcolright.tooltip"),
|
806
|
+
icon: "aloha-icon aloha-icon-addcolumnright",
|
807
|
+
scope: this.name + '.column',
|
808
|
+
click: function() {
|
758
809
|
if (that.activeTable) {
|
759
810
|
that.activeTable.addColumnsRight();
|
760
811
|
}
|
761
812
|
}
|
762
|
-
})
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
this.name + '.column',
|
770
|
-
new Aloha.ui.Button({
|
771
|
-
'name' : 'deletecolumns',
|
772
|
-
'iconClass' : 'aloha-button aloha-button-deleteColumns',
|
773
|
-
'size' : 'small',
|
774
|
-
'tooltip' : i18n.t('button.delcols.tooltip'),
|
775
|
-
'onclick' : function () {
|
813
|
+
});
|
814
|
+
|
815
|
+
this._deletecolumnsButton = Ui.adopt("deletecolumns", Button, {
|
816
|
+
tooltip: i18n.t("button.delcols.tooltip"),
|
817
|
+
icon: "aloha-icon aloha-icon-deletecolumns",
|
818
|
+
scope: this.name + '.column',
|
819
|
+
click: function() {
|
776
820
|
if (that.activeTable) {
|
777
821
|
var aTable = that.activeTable;
|
778
|
-
|
779
|
-
title
|
780
|
-
text
|
781
|
-
|
782
|
-
|
783
|
-
if (sel == 'yes') {
|
784
|
-
aTable.deleteColumns();
|
785
|
-
}
|
822
|
+
Dialog.confirm({
|
823
|
+
title: i18n.t('Table'),
|
824
|
+
text: i18n.t('deletecolumns.confirm'),
|
825
|
+
yes: function(){
|
826
|
+
aTable.deleteColumns();
|
786
827
|
}
|
787
|
-
})
|
828
|
+
});
|
788
829
|
}
|
789
830
|
}
|
790
|
-
})
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
iconClass : 'aloha-button aloha-button-col-header',
|
798
|
-
size : 'small',
|
799
|
-
tooltip : i18n.t('button.columnheader.tooltip'),
|
800
|
-
toggle : true,
|
801
|
-
onclick : function () {
|
802
|
-
// table header
|
803
|
-
if (that.activeTable) {
|
804
|
-
var
|
805
|
-
selectedColumnIdxs = that.activeTable.selection.selectedColumnIdxs,
|
806
|
-
cell,
|
807
|
-
isHeader = that.activeTable.selection.isHeader();
|
808
|
-
|
809
|
-
for (var j = 0; j < that.activeTable.selection.selectedCells.length; j++) {
|
810
|
-
cell = that.activeTable.selection.selectedCells[j];
|
811
|
-
if ( isHeader ) {
|
812
|
-
cell = Aloha.Markup.transformDomObject( cell, 'td' ).removeAttr( 'scope' ).get(0);
|
813
|
-
} else {
|
814
|
-
cell = Aloha.Markup.transformDomObject( cell, 'th' ).attr( 'scope', 'row' ).get(0);
|
815
|
-
}
|
816
|
-
|
817
|
-
jQuery( that.activeTable.selection.selectedCells[j] ).bind( 'mousedown', function ( jqEvent ) {
|
818
|
-
var wrapper = jQuery(this).children('div').eq(0);
|
819
|
-
// lovely IE ;-)
|
820
|
-
setTimeout(function () {
|
821
|
-
wrapper.trigger( 'focus' );
|
822
|
-
}, 1);
|
823
|
-
// unselect cells
|
824
|
-
});
|
825
|
-
|
826
|
-
}
|
827
|
-
// selection the column.
|
828
|
-
that.activeTable.refresh();
|
829
|
-
that.activeTable.selection.unselectCells();
|
830
|
-
that.activeTable.selection.selectColumns( selectedColumnIdxs );
|
831
|
-
}
|
832
|
-
}
|
833
|
-
});
|
834
|
-
|
835
|
-
FloatingMenu.addButton(
|
836
|
-
this.name + '.column',
|
837
|
-
this.columnHeader,
|
838
|
-
i18n.t('floatingmenu.tab.table'),
|
839
|
-
1
|
840
|
-
);
|
841
|
-
|
842
|
-
this.btnTablemergecells = new Aloha.ui.Button({
|
843
|
-
'name' : 'tablemergecells',
|
844
|
-
'iconClass' : 'aloha-button aloha-button-merge-cells',
|
845
|
-
'size' : 'small',
|
846
|
-
'tooltip' : i18n.t('button.mergecells.tooltip'),
|
847
|
-
'toggle' : false,
|
848
|
-
'onclick' : function () {
|
831
|
+
});
|
832
|
+
|
833
|
+
this._columnheaderButton = Ui.adopt("columnheader", ToggleButton, {
|
834
|
+
tooltip: i18n.t("button.columnheader.tooltip"),
|
835
|
+
icon: "aloha-icon aloha-icon-columnheader",
|
836
|
+
scope: this.name + '.column',
|
837
|
+
click: function() {
|
849
838
|
if (that.activeTable) {
|
850
|
-
|
839
|
+
var
|
840
|
+
selectedColumnIdxs = that.activeTable.selection.selectedColumnIdxs,
|
841
|
+
cell,
|
842
|
+
isHeader = that.activeTable.selection.isHeader(),
|
843
|
+
allHeaders = true; // flag for header check
|
844
|
+
|
845
|
+
// loop through selected cells, determine if any are not already headers
|
846
|
+
for (var j = 0; j < that.activeTable.selection.selectedCells.length; j++) {
|
847
|
+
cell = that.activeTable.selection.selectedCells[j];
|
848
|
+
if ( !isHeader ) {
|
849
|
+
allHeaders = false;
|
850
|
+
break;
|
851
|
+
}
|
852
|
+
}
|
853
|
+
|
854
|
+
// updated selected cells
|
855
|
+
for (var j = 0; j < that.activeTable.selection.selectedCells.length; j++) {
|
856
|
+
cell = that.activeTable.selection.selectedCells[j];
|
857
|
+
if ( allHeaders ) {
|
858
|
+
cell = Aloha.Markup.transformDomObject( cell, 'td' ).removeAttr( 'scope' ).get(0);
|
859
|
+
} else {
|
860
|
+
cell = Aloha.Markup.transformDomObject( cell, 'th' ).attr( 'scope', 'row' ).get(0);
|
861
|
+
}
|
862
|
+
|
863
|
+
jQuery( that.activeTable.selection.selectedCells[j] ).bind( 'mousedown', function ( jqEvent ) {
|
864
|
+
var wrapper = jQuery(this).children('div').eq(0);
|
865
|
+
// lovely IE ;-)
|
866
|
+
window.setTimeout(function () {
|
867
|
+
wrapper.trigger( 'focus' );
|
868
|
+
}, 1);
|
869
|
+
// unselect cells
|
870
|
+
});
|
871
|
+
|
872
|
+
}
|
873
|
+
|
874
|
+
// select the column
|
875
|
+
that.activeTable.refresh();
|
876
|
+
that.activeTable.selection.unselectCells();
|
877
|
+
that.activeTable.selection.selectColumns( selectedColumnIdxs );
|
851
878
|
}
|
852
879
|
}
|
853
880
|
});
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
881
|
+
|
882
|
+
// generate formatting buttons
|
883
|
+
this.columnMSItems = [];
|
884
|
+
jQuery.each(this.columnConfig, function (j, itemConf) {
|
885
|
+
var item = {
|
886
|
+
name : itemConf.name,
|
887
|
+
text : i18n.t(itemConf.text),
|
888
|
+
tooltip : i18n.t(itemConf.tooltip),
|
889
|
+
iconClass : 'aloha-icon aloha-column-layout ' + itemConf.iconClass,
|
890
|
+
click : function (x,y,z) {
|
891
|
+
if (that.activeTable) {
|
892
|
+
var sc = that.activeTable.selection.selectedCells;
|
893
|
+
// if a selection was made, transform the selected cells
|
894
|
+
for (var i = 0; i < sc.length; i++) {
|
895
|
+
if ( jQuery(sc[i]).attr('class').indexOf(itemConf.cssClass) > -1 ) {
|
896
|
+
jQuery(sc[i]).removeClass(itemConf.cssClass);
|
897
|
+
} else {
|
898
|
+
jQuery(sc[i]).addClass(itemConf.cssClass);
|
899
|
+
// remove all column formattings
|
900
|
+
for (var f = 0; f < that.columnConfig.length; f++) {
|
901
|
+
if (that.columnConfig[f].cssClass != itemConf.cssClass) {
|
902
|
+
jQuery(sc[i]).removeClass(that.columnConfig[f].cssClass);
|
903
|
+
}
|
904
|
+
}
|
905
|
+
}
|
906
|
+
}
|
907
|
+
// selection could have changed.
|
908
|
+
that.activeTable.selectColumns();
|
909
|
+
}
|
872
910
|
}
|
873
|
-
}
|
911
|
+
};
|
912
|
+
|
913
|
+
that.columnMSItems.push(item);
|
874
914
|
});
|
875
915
|
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
text : i18n.t(itemConf.text),
|
890
|
-
tooltip : i18n.t(itemConf.tooltip),
|
891
|
-
iconClass : 'aloha-button aloha-column-layout ' + itemConf.iconClass,
|
892
|
-
click : function (x,y,z) {
|
893
|
-
if (that.activeTable) {
|
894
|
-
var sc = that.activeTable.selection.selectedCells;
|
895
|
-
// if a selection was made, transform the selected cells
|
896
|
-
for (var i = 0; i < sc.length; i++) {
|
897
|
-
if ( jQuery(sc[i]).attr('class').indexOf(itemConf.cssClass) > -1 ) {
|
898
|
-
jQuery(sc[i]).removeClass(itemConf.cssClass);
|
899
|
-
} else {
|
900
|
-
jQuery(sc[i]).addClass(itemConf.cssClass);
|
901
|
-
// remove all column formattings
|
902
|
-
for (var f = 0; f < that.columnConfig.length; f++) {
|
903
|
-
if (that.columnConfig[f].cssClass != itemConf.cssClass) {
|
916
|
+
if (this.columnMSItems.length > 0) {
|
917
|
+
this.columnMSItems.push({
|
918
|
+
name : 'removeFormat',
|
919
|
+
text : i18n.t('button.removeFormat.text'),
|
920
|
+
tooltip : i18n.t('button.removeFormat.tooltip'),
|
921
|
+
'cls' : 'aloha-ui-multisplit-fullwidth',
|
922
|
+
wide : true,
|
923
|
+
click : function () {
|
924
|
+
if (that.activeTable) {
|
925
|
+
var sc = that.activeTable.selection.selectedCells;
|
926
|
+
// if a selection was made, transform the selected cells
|
927
|
+
for (var i = 0; i < sc.length; i++) {
|
928
|
+
for (var f = 0; f < that.columnConfig.length; f++) {
|
904
929
|
jQuery(sc[i]).removeClass(that.columnConfig[f].cssClass);
|
905
930
|
}
|
906
931
|
}
|
932
|
+
// selection could have changed.
|
933
|
+
that.activeTable.selectColumns();
|
907
934
|
}
|
908
935
|
}
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
936
|
+
});
|
937
|
+
}
|
938
|
+
|
939
|
+
this.columnMSButton = MultiSplitButton({
|
940
|
+
items: this.columnMSItems,
|
941
|
+
name: 'formatColumn',
|
942
|
+
hideIfEmpty: true,
|
943
|
+
scope: this.name + '.column'
|
944
|
+
});
|
945
|
+
};
|
946
|
+
|
947
|
+
/**
|
948
|
+
* Adds custom formatting buttons for cells to floating menu
|
949
|
+
*/
|
950
|
+
TablePlugin.initCellBtns = function () {
|
951
|
+
var that = this;
|
952
|
+
|
953
|
+
// generate formatting buttons
|
954
|
+
this.cellMSItems = [];
|
955
|
+
jQuery.each(this.cellConfig, function (j, itemConf) {
|
956
|
+
var item = {
|
957
|
+
name : itemConf.name,
|
958
|
+
text : i18n.t(itemConf.text),
|
959
|
+
tooltip : i18n.t(itemConf.tooltip),
|
960
|
+
iconClass : 'aloha-icon aloha-column-layout ' + itemConf.iconClass,
|
961
|
+
click : function (x,y,z) {
|
962
|
+
if (that.activeTable) {
|
963
|
+
var sc = that.selectedOrActiveCells();
|
964
|
+
|
965
|
+
// if a selection was made, transform the selected cells
|
966
|
+
for (var i = 0; i < sc.length; i++) {
|
967
|
+
if ( jQuery(sc[i]).attr('class').indexOf(itemConf.cssClass) > -1 ) {
|
968
|
+
jQuery(sc[i]).removeClass(itemConf.cssClass);
|
969
|
+
} else {
|
970
|
+
jQuery(sc[i]).addClass(itemConf.cssClass);
|
971
|
+
// remove all column formattings
|
972
|
+
for (var f = 0; f < that.cellConfig.length; f++) {
|
973
|
+
if (that.cellConfig[f].cssClass != itemConf.cssClass) {
|
974
|
+
jQuery(sc[i]).removeClass(that.cellConfig[f].cssClass);
|
975
|
+
}
|
976
|
+
}
|
977
|
+
}
|
978
|
+
}
|
979
|
+
|
980
|
+
that.setActiveCellStyle();
|
932
981
|
}
|
933
982
|
}
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
983
|
+
};
|
984
|
+
|
985
|
+
that.cellMSItems.push(item);
|
986
|
+
});
|
987
|
+
|
988
|
+
if (this.cellMSItems.length > 0) {
|
989
|
+
this.cellMSItems.push({
|
990
|
+
name : 'removeFormat',
|
991
|
+
text : i18n.t('button.removeFormat.text'),
|
992
|
+
tooltip : i18n.t('button.removeFormat.tooltip'),
|
993
|
+
'cls' : 'aloha-ui-multisplit-fullwidth',
|
994
|
+
wide : true,
|
995
|
+
click : function () {
|
996
|
+
if (that.activeTable) {
|
997
|
+
var sc = that.selectedOrActiveCells();
|
998
|
+
// if a selection was made, transform the selected cells
|
999
|
+
for (var i = 0; i < sc.length; i++) {
|
1000
|
+
for (var f = 0; f < that.cellConfig.length; f++) {
|
1001
|
+
jQuery(sc[i]).removeClass(that.cellConfig[f].cssClass);
|
1002
|
+
}
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
that.setActiveCellStyle();
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
});
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
this.cellMSButton = MultiSplitButton({
|
1012
|
+
items: this.cellMSItems,
|
1013
|
+
name: 'formatCell',
|
1014
|
+
hideIfEmpty: true,
|
1015
|
+
scope: this.name + '.cell'
|
1016
|
+
});
|
1017
|
+
};
|
1018
|
+
|
955
1019
|
|
956
1020
|
/**
|
957
1021
|
* initialize the buttons and register them on floating menu
|
@@ -960,150 +1024,95 @@ define( [
|
|
960
1024
|
var that = this;
|
961
1025
|
|
962
1026
|
// generate the new scopes
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
'onclick' : function (element, event) {
|
974
|
-
TablePlugin.createDialog(element.btnEl.dom);
|
1027
|
+
Scopes.createScope(this.name + '.row', 'Aloha.continuoustext');
|
1028
|
+
Scopes.createScope(this.name + '.column', 'Aloha.continuoustext');
|
1029
|
+
Scopes.createScope(this.name + '.cell', 'Aloha.continuoustext');
|
1030
|
+
|
1031
|
+
this._createTableButton = Ui.adopt("createTable", Button, {
|
1032
|
+
tooltip: i18n.t("button.createtable.tooltip"),
|
1033
|
+
icon: "aloha-icon aloha-icon-createTable",
|
1034
|
+
scope: 'Aloha.continuoustext',
|
1035
|
+
click: function() {
|
1036
|
+
TablePlugin.createDialog(this.element);
|
975
1037
|
}
|
976
1038
|
});
|
977
1039
|
|
978
|
-
//
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
);
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
});
|
1015
|
-
});
|
1016
|
-
|
1017
|
-
if(this.tableMSItems.length > 0) {
|
1018
|
-
this.tableMSItems.push({
|
1019
|
-
name: 'removeFormat',
|
1020
|
-
text: i18n.t('button.removeFormat.text'),
|
1021
|
-
tooltip: i18n.t('button.removeFormat.tooltip'),
|
1022
|
-
iconClass: 'aloha-button aloha-button-removeFormat',
|
1023
|
-
wide: true,
|
1024
|
-
click: function () {
|
1025
|
-
// remove all table classes
|
1026
|
-
if (that.activeTable) {
|
1027
|
-
for (var f = 0; f < tableConfig.length; f++) {
|
1028
|
-
that.activeTable.obj.removeClass(that.tableConfig[f].cssClass);
|
1029
|
-
}
|
1030
|
-
}
|
1031
|
-
}
|
1032
|
-
});
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
this.tableMSButton = new Aloha.ui.MultiSplitButton({
|
1036
|
-
items : this.tableMSItems,
|
1037
|
-
name : 'tableActions'
|
1038
|
-
});
|
1039
|
-
|
1040
|
-
if(this.tableMSItems.length > 0) {
|
1041
|
-
FloatingMenu.addButton(
|
1042
|
-
this.name + '.cell',
|
1043
|
-
this.tableMSButton,
|
1044
|
-
i18n.t('floatingmenu.tab.tablelayout'),
|
1045
|
-
3
|
1046
|
-
);
|
1047
|
-
};
|
1048
|
-
|
1049
|
-
this.btnMergecells = new Aloha.ui.Button({
|
1050
|
-
'name' : 'mergecells',
|
1051
|
-
'iconClass' : 'aloha-button aloha-button-merge-cells',
|
1052
|
-
'size' : 'small',
|
1053
|
-
'tooltip' : i18n.t('button.mergecells.tooltip'),
|
1054
|
-
'toggle' : false,
|
1055
|
-
'onclick' : function () {
|
1056
|
-
if (that.activeTable) {
|
1057
|
-
that.activeTable.selection.mergeCells();
|
1040
|
+
// now the specific table buttons
|
1041
|
+
|
1042
|
+
// generate formatting buttons for columns
|
1043
|
+
this.initColumnBtns();
|
1044
|
+
|
1045
|
+
// generate formatting buttons for rows
|
1046
|
+
this.initRowsBtns();
|
1047
|
+
|
1048
|
+
// generate formatting buttons for cells
|
1049
|
+
this.initCellBtns();
|
1050
|
+
|
1051
|
+
this.initMergeSplitCellsBtns();
|
1052
|
+
|
1053
|
+
this.initNaturalFitBtn();
|
1054
|
+
|
1055
|
+
// generate formatting buttons for tables
|
1056
|
+
this.tableMSItems = [];
|
1057
|
+
|
1058
|
+
var tableConfig = this.tableConfig;
|
1059
|
+
|
1060
|
+
jQuery.each(tableConfig, function(j, itemConf){
|
1061
|
+
that.tableMSItems.push({
|
1062
|
+
name: itemConf.name,
|
1063
|
+
text: i18n.t(itemConf.text),
|
1064
|
+
tooltip: i18n.t(itemConf.tooltip),
|
1065
|
+
iconClass: 'aloha-icon aloha-table-layout ' + itemConf.iconClass,
|
1066
|
+
click: function(){
|
1067
|
+
// set table css class
|
1068
|
+
if (that.activeTable) {
|
1069
|
+
for (var f = 0; f < tableConfig.length; f++) {
|
1070
|
+
that.activeTable.obj.removeClass(tableConfig[f].cssClass);
|
1071
|
+
}
|
1072
|
+
that.activeTable.obj.addClass(itemConf.cssClass);
|
1073
|
+
}
|
1058
1074
|
}
|
1059
|
-
}
|
1075
|
+
});
|
1060
1076
|
});
|
1061
1077
|
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
'onclick' : function () {
|
1077
|
-
if (that.activeTable) {
|
1078
|
-
that.activeTable.selection.splitCells();
|
1078
|
+
if(this.tableMSItems.length > 0) {
|
1079
|
+
this.tableMSItems.push({
|
1080
|
+
name : 'removeFormat',
|
1081
|
+
text : i18n.t('button.removeFormat.text'),
|
1082
|
+
tooltip : i18n.t('button.removeFormat.tooltip'),
|
1083
|
+
'cls' : 'aloha-ui-multisplit-fullwidth',
|
1084
|
+
wide : true,
|
1085
|
+
click : function () {
|
1086
|
+
// remove all table classes
|
1087
|
+
if (that.activeTable) {
|
1088
|
+
for (var f = 0; f < tableConfig.length; f++) {
|
1089
|
+
that.activeTable.obj.removeClass(that.tableConfig[f].cssClass);
|
1090
|
+
}
|
1091
|
+
}
|
1079
1092
|
}
|
1080
|
-
}
|
1093
|
+
});
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
this.tableMSButton = MultiSplitButton({
|
1097
|
+
items : this.tableMSItems,
|
1098
|
+
name : 'formatTable',
|
1099
|
+
hideIfEmpty: true,
|
1100
|
+
scope: this.name + '.cell'
|
1081
1101
|
});
|
1082
1102
|
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
);
|
1089
|
-
|
1090
|
-
// Add caption button
|
1091
|
-
this.captionButton = new Aloha.ui.Button({
|
1092
|
-
'name' : 'tablecaption',
|
1093
|
-
'iconClass' : 'aloha-button aloha-button-table-caption',
|
1094
|
-
'size' : 'small',
|
1095
|
-
'tooltip' : i18n.t('button.caption.tooltip'),
|
1096
|
-
'toggle' : true,
|
1097
|
-
'onclick' : function () {
|
1103
|
+
this._tableCaptionButton = Ui.adopt("tableCaption", ToggleButton, {
|
1104
|
+
tooltip: i18n.t("button.caption.tooltip"),
|
1105
|
+
icon: "aloha-icon aloha-icon-table-caption",
|
1106
|
+
scope: this.name + '.cell',
|
1107
|
+
click: function() {
|
1098
1108
|
if (that.activeTable) {
|
1099
1109
|
// look if table object has a child caption
|
1100
1110
|
if ( that.activeTable.obj.children("caption").is('caption') ) {
|
1101
1111
|
that.activeTable.obj.children("caption").remove();
|
1102
|
-
// select first cell of table
|
1103
1112
|
} else {
|
1104
1113
|
var captionText = i18n.t('empty.caption');
|
1105
1114
|
var c = jQuery('<caption></caption>');
|
1106
|
-
that.activeTable.obj.
|
1115
|
+
that.activeTable.obj.prepend(c);
|
1107
1116
|
that.makeCaptionEditable(c, captionText);
|
1108
1117
|
|
1109
1118
|
// get the editable span within the caption and select it
|
@@ -1127,33 +1136,18 @@ define( [
|
|
1127
1136
|
}
|
1128
1137
|
});
|
1129
1138
|
|
1130
|
-
|
1131
|
-
this.name + '.cell',
|
1132
|
-
this.captionButton,
|
1133
|
-
i18n.t('floatingmenu.tab.table'),
|
1134
|
-
1
|
1135
|
-
);
|
1136
|
-
|
1137
|
-
// for cells
|
1138
|
-
// add summary field
|
1139
|
-
this.summary = new Aloha.ui.AttributeField( {
|
1139
|
+
this.summary = AttributeField( {
|
1140
1140
|
width : 275,
|
1141
|
-
name : 'tableSummary'
|
1142
|
-
|
1143
|
-
|
1144
|
-
this.summary.addListener( 'keyup', function( obj, event ) {
|
1145
|
-
that.activeTable.checkWai();
|
1141
|
+
name : 'tableSummary',
|
1142
|
+
noTargetHighlight: true,
|
1143
|
+
scope: this.name + '.cell'
|
1146
1144
|
} );
|
1147
|
-
|
1148
|
-
if(!this.settings.summaryinsidebar) {
|
1149
|
-
FloatingMenu.addButton(
|
1150
|
-
this.name + '.cell',
|
1151
|
-
this.summary,
|
1152
|
-
i18n.t('floatingmenu.tab.table'),
|
1153
|
-
1
|
1154
|
-
);
|
1155
|
-
}
|
1156
1145
|
|
1146
|
+
this.summary.addListener( 'keyup', function( event ) {
|
1147
|
+
if (that.activeTable) {
|
1148
|
+
that.activeTable.checkWai();
|
1149
|
+
}
|
1150
|
+
} );
|
1157
1151
|
};
|
1158
1152
|
|
1159
1153
|
/**
|
@@ -1163,15 +1157,16 @@ define( [
|
|
1163
1157
|
*/
|
1164
1158
|
TablePlugin.makeCaptionEditable = function(caption, captionText) {
|
1165
1159
|
var that = this;
|
1166
|
-
var cSpan = caption.children('div')
|
1167
|
-
if (cSpan.length
|
1160
|
+
var cSpan = caption.children('div');
|
1161
|
+
if (cSpan.length === 0) {
|
1168
1162
|
// generate a new div
|
1169
1163
|
cSpan = jQuery('<div></div>');
|
1170
1164
|
jQuery(cSpan).addClass('aloha-ui');
|
1171
1165
|
jQuery(cSpan).addClass('aloha-editable-caption');
|
1172
1166
|
if (caption.contents().length > 0) {
|
1173
1167
|
// when the caption has content, we wrap it with the new div
|
1174
|
-
caption.contents()
|
1168
|
+
cSpan.append(caption.contents());
|
1169
|
+
caption.append(cSpan);
|
1175
1170
|
} else {
|
1176
1171
|
// caption has no content, so insert the default caption text
|
1177
1172
|
if (captionText) {
|
@@ -1180,18 +1175,17 @@ define( [
|
|
1180
1175
|
// and append the div into the caption
|
1181
1176
|
caption.append(cSpan);
|
1182
1177
|
}
|
1178
|
+
} else if (cSpan.length > 1) {
|
1179
|
+
// merge multiple divs (they are probably created by IE)
|
1180
|
+
caption.children('div:not(:first-child)').each(function () {
|
1181
|
+
$this = jQuery(this);
|
1182
|
+
cSpan.eq(0).append($this.contents());
|
1183
|
+
$this.remove();
|
1184
|
+
});
|
1185
|
+
cSpan = cSpan.eq(0);
|
1183
1186
|
}
|
1184
1187
|
// make the div editable
|
1185
1188
|
cSpan.contentEditable(true);
|
1186
|
-
cSpan.unbind('mousedown');
|
1187
|
-
// focus on click
|
1188
|
-
cSpan.bind('mousedown', function(jqEvent) {
|
1189
|
-
cSpan.focus();
|
1190
|
-
// stop bubble, otherwise the mousedown of the table is called ...
|
1191
|
-
jqEvent.preventDefault();
|
1192
|
-
jqEvent.stopPropagation();
|
1193
|
-
return false;
|
1194
|
-
});
|
1195
1189
|
};
|
1196
1190
|
|
1197
1191
|
/**
|
@@ -1208,7 +1202,6 @@ define( [
|
|
1208
1202
|
|
1209
1203
|
// show the createLayer
|
1210
1204
|
this.createLayer.show();
|
1211
|
-
|
1212
1205
|
};
|
1213
1206
|
|
1214
1207
|
/**
|
@@ -1225,7 +1218,7 @@ define( [
|
|
1225
1218
|
if ( this.preventNestedTables() ) {
|
1226
1219
|
return;
|
1227
1220
|
}
|
1228
|
-
|
1221
|
+
|
1229
1222
|
// Check if there is an active Editable and that it contains an element (= .obj)
|
1230
1223
|
if ( Aloha.activeEditable && typeof Aloha.activeEditable.obj !== 'undefined' ) {
|
1231
1224
|
// create a dom-table object
|
@@ -1246,50 +1239,47 @@ define( [
|
|
1246
1239
|
tbody.appendChild( tr );
|
1247
1240
|
}
|
1248
1241
|
table.appendChild( tbody );
|
1249
|
-
|
1242
|
+
|
1250
1243
|
prepareRangeContainersForInsertion(
|
1251
1244
|
Aloha.Selection.getRangeObject(), table );
|
1252
|
-
|
1245
|
+
|
1253
1246
|
// insert the table at the current selection
|
1254
1247
|
GENTICS.Utils.Dom.insertIntoDOM(
|
1255
1248
|
jQuery( table ),
|
1256
1249
|
Aloha.Selection.getRangeObject(),
|
1257
1250
|
Aloha.activeEditable.obj
|
1258
1251
|
);
|
1259
|
-
|
1252
|
+
|
1260
1253
|
cleanupAfterInsertion();
|
1261
|
-
|
1262
|
-
var tableReloadedFromDOM = document.getElementById( tableId );
|
1263
1254
|
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
// won't work
|
1274
|
-
if ( jQuery.browser.msie ) {
|
1275
|
-
window.setTimeout( function () {
|
1276
|
-
tableObj.cells[ 0 ].wrapper.get( 0 ).focus();
|
1255
|
+
var tableReloadedFromDOM = document.getElementById( tableId );
|
1256
|
+
var tableObj = createNewTable(tableReloadedFromDOM);
|
1257
|
+
|
1258
|
+
if (tableObj) {
|
1259
|
+
// Because without the 10ms delay, we cannot place the cursor
|
1260
|
+
// automatically into the first cell in IE.
|
1261
|
+
if ($.browser.msie) {
|
1262
|
+
window.setTimeout(function () {
|
1263
|
+
tableObj.cells[0].wrapper.get(0).focus();
|
1277
1264
|
}, 20 );
|
1278
1265
|
} else {
|
1279
|
-
tableObj.cells[
|
1266
|
+
tableObj.cells[0].wrapper.get(0).focus();
|
1280
1267
|
}
|
1281
|
-
|
1282
|
-
TablePlugin.TableRegistry.push( tableObj );
|
1283
1268
|
}
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1269
|
+
|
1270
|
+
// The selection starts out in the first cell of the new
|
1271
|
+
// table. The table tab/scope has to be activated
|
1272
|
+
// accordingly.
|
1273
|
+
tableObj.focus();
|
1274
|
+
TablePlugin.activeTable.selection.selectionType = 'cell';
|
1275
|
+
TablePlugin.updateFloatingMenuScope();
|
1276
|
+
|
1287
1277
|
} else {
|
1288
1278
|
this.error( 'There is no active Editable where the table can be\
|
1289
1279
|
inserted!' );
|
1290
1280
|
}
|
1291
1281
|
};
|
1292
|
-
|
1282
|
+
|
1293
1283
|
TablePlugin.setFocusedTable = function(focusTable) {
|
1294
1284
|
var that = this;
|
1295
1285
|
|
@@ -1305,7 +1295,7 @@ define( [
|
|
1305
1295
|
this.summary.setTargetObject(focusTable.obj, 'summary');
|
1306
1296
|
if ( focusTable.obj.children("caption").is('caption') ) {
|
1307
1297
|
// set caption button
|
1308
|
-
|
1298
|
+
this._tableCaptionButton.setState(true);
|
1309
1299
|
var c = focusTable.obj.children("caption");
|
1310
1300
|
that.makeCaptionEditable(c);
|
1311
1301
|
}
|
@@ -1313,23 +1303,20 @@ define( [
|
|
1313
1303
|
}
|
1314
1304
|
TablePlugin.activeTable = focusTable;
|
1315
1305
|
|
1316
|
-
if (this.tableMSButton.extButton) {
|
1317
1306
|
// show configured formatting classes
|
1318
1307
|
for (var i = 0; i < this.tableMSItems.length; i++) {
|
1319
|
-
|
1308
|
+
this.tableMSButton.showItem(this.tableMSItems[i].name);
|
1320
1309
|
}
|
1321
1310
|
this.tableMSButton.setActiveItem();
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
}
|
1332
|
-
};
|
1311
|
+
|
1312
|
+
if (this.activeTable) {
|
1313
|
+
for (var i = 0; i < this.tableConfig.length; i++) {
|
1314
|
+
if (this.activeTable.obj.hasClass(this.tableConfig[i].cssClass)) {
|
1315
|
+
this.tableMSButton.setActiveItem(this.tableConfig[i].name);
|
1316
|
+
}
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
};
|
1333
1320
|
|
1334
1321
|
/**
|
1335
1322
|
* Calls the Aloha.log function with 'error' level
|
@@ -1429,10 +1416,12 @@ define( [
|
|
1429
1416
|
// same id as tables which have been activated and registered
|
1430
1417
|
if ( that.getTableFromRegistry( this ) ) {
|
1431
1418
|
( new Table( this, that ) ).deactivate();
|
1419
|
+
// remove the id attribute
|
1420
|
+
jQuery(this).attr('id', null);
|
1432
1421
|
}
|
1433
1422
|
} );
|
1434
1423
|
};
|
1435
|
-
|
1424
|
+
|
1436
1425
|
/**
|
1437
1426
|
* String representation of the Table-object
|
1438
1427
|
*
|
@@ -1442,14 +1431,58 @@ define( [
|
|
1442
1431
|
return this.prefix;
|
1443
1432
|
};
|
1444
1433
|
|
1445
|
-
TablePlugin.updateFloatingMenuScope = function
|
1434
|
+
TablePlugin.updateFloatingMenuScope = function() {
|
1446
1435
|
if ( null != TablePlugin.activeTable && null != TablePlugin.activeTable.selection.selectionType ) {
|
1447
|
-
|
1436
|
+
Scopes.setScope(TablePlugin.name + '.' + TablePlugin.activeTable.selection.selectionType);
|
1437
|
+
}
|
1438
|
+
};
|
1439
|
+
|
1440
|
+
TablePlugin.setActiveCellStyle = function() {
|
1441
|
+
var that = this;
|
1442
|
+
|
1443
|
+
// reset any selected cell styles
|
1444
|
+
this.cellMSButton.setActiveItem();
|
1445
|
+
|
1446
|
+
var selectedCells = that.selectedOrActiveCells();
|
1447
|
+
|
1448
|
+
jQuery( selectedCells ).each( function() {
|
1449
|
+
for (var k = 0; k < that.cellConfig.length; k++) {
|
1450
|
+
if ( jQuery(this).hasClass(that.cellConfig[k].cssClass) ) {
|
1451
|
+
that.cellMSButton.setActiveItem(that.cellConfig[k].name);
|
1452
|
+
k = that.cellConfig.length;
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
});
|
1456
|
+
|
1457
|
+
};
|
1458
|
+
|
1459
|
+
TablePlugin.selectedOrActiveCells = function() {
|
1460
|
+
var that = this;
|
1461
|
+
var sc = this.activeTable.selection.selectedCells;
|
1462
|
+
|
1463
|
+
// if there are no selected cells,
|
1464
|
+
// set the active cell as the selected cell.
|
1465
|
+
if (!sc || sc.length < 1) {
|
1466
|
+
var activeCell = function() {
|
1467
|
+
var range = Aloha.Selection.getRangeObject();
|
1468
|
+
if (Aloha.activeEditable) {
|
1469
|
+
return range.findMarkup( function() {
|
1470
|
+
return this.nodeName.toLowerCase() === 'td';
|
1471
|
+
}, Aloha.activeEditable.obj );
|
1472
|
+
} else {
|
1473
|
+
return null;
|
1474
|
+
}
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
var active_cell = activeCell();
|
1478
|
+
return (active_cell ? [ active_cell ] : []);
|
1479
|
+
} else {
|
1480
|
+
return sc;
|
1448
1481
|
}
|
1449
1482
|
};
|
1450
|
-
|
1483
|
+
|
1451
1484
|
PluginManager.register(TablePlugin);
|
1452
|
-
|
1485
|
+
|
1453
1486
|
/**
|
1454
1487
|
* Detects a situation where we are about to insert content into a
|
1455
1488
|
* selection that looks like this: <p> [</p>...
|
@@ -1468,7 +1501,7 @@ define( [
|
|
1468
1501
|
* display empty paragraphs if they are content-editable. So a <br />
|
1469
1502
|
* inside an empty content-editable paragraph will result in 2 lines to be
|
1470
1503
|
* shown instead of 1 in IE.
|
1471
|
-
*
|
1504
|
+
*
|
1472
1505
|
* @param {Object} range
|
1473
1506
|
* @param {DOMElement} table
|
1474
1507
|
*/
|
@@ -1477,22 +1510,22 @@ define( [
|
|
1477
1510
|
sNode = range.startContainer,
|
1478
1511
|
eNodeLength = ( eNode.nodeType == 3 )
|
1479
1512
|
? eNode.length
|
1480
|
-
: eNode.childNodes.length;
|
1481
|
-
|
1482
|
-
|
1513
|
+
: eNode.childNodes.length;
|
1514
|
+
|
1515
|
+
|
1483
1516
|
if ( sNode.nodeType == 3 &&
|
1484
1517
|
sNode.parentNode.tagName == 'P' &&
|
1485
1518
|
sNode.parentNode.childNodes.length == 1 &&
|
1486
1519
|
/^(\s|%A0)$/.test( escape( sNode.data ) ) ) {
|
1487
1520
|
sNode.data = '';
|
1488
1521
|
range.startOffset = 0;
|
1489
|
-
|
1522
|
+
|
1490
1523
|
// In case ... <p> []</p>
|
1491
1524
|
if ( eNode == sNode ) {
|
1492
1525
|
range.endOffset = 0;
|
1493
1526
|
}
|
1494
1527
|
}
|
1495
|
-
|
1528
|
+
|
1496
1529
|
// If the table is not allowed to be nested inside the startContainer,
|
1497
1530
|
// then it will have to be split in order to insert the table.
|
1498
1531
|
// We will therefore check if the selection touches the start and/or
|
@@ -1501,19 +1534,19 @@ define( [
|
|
1501
1534
|
// split we can check whether or not they should be removed
|
1502
1535
|
if ( !GENTICS.Utils.Dom.allowsNesting(
|
1503
1536
|
sNode.nodeType == 3 ? sNode.parentNode : sNode, table ) ) {
|
1504
|
-
|
1537
|
+
|
1505
1538
|
if ( range.startOffset == 0 ) {
|
1506
1539
|
jQuery( sNode.nodeType == 3 ? sNode.parentNode : sNode )
|
1507
1540
|
.addClass( 'aloha-table-cleanme' );
|
1508
1541
|
}
|
1509
|
-
|
1542
|
+
|
1510
1543
|
if ( range.endOffset == eNodeLength ) {
|
1511
1544
|
jQuery( eNode.nodeType == 3 ? eNode.parentNode : eNode )
|
1512
1545
|
.addClass( 'aloha-table-cleanme' );
|
1513
1546
|
}
|
1514
1547
|
}
|
1515
1548
|
};
|
1516
|
-
|
1549
|
+
|
1517
1550
|
/**
|
1518
1551
|
* Looks for elements marked with "aloha-table-cleanme", and removes them
|
1519
1552
|
* if they are absolutely empty.
|
@@ -1524,12 +1557,12 @@ define( [
|
|
1524
1557
|
function cleanupAfterInsertion () {
|
1525
1558
|
var dirty = jQuery( '.aloha-table-cleanme' ).removeClass(
|
1526
1559
|
'aloha-table-cleanme' );
|
1527
|
-
|
1560
|
+
|
1528
1561
|
for ( var i = 0; i < dirty.length; i++ ) {
|
1529
1562
|
if ( jQuery.trim( jQuery( dirty[ i ] ).html() ) == '' &&
|
1530
1563
|
!GENTICS.Utils.Dom.isEditingHost( dirty[ i ] ) ) {
|
1531
1564
|
jQuery( dirty[ i ] ).remove();
|
1532
|
-
|
1565
|
+
|
1533
1566
|
/*
|
1534
1567
|
// For debugging: to see what we are deleting
|
1535
1568
|
jQuery( dirty[ i ] ).css({
|
@@ -1540,6 +1573,6 @@ define( [
|
|
1540
1573
|
}
|
1541
1574
|
}
|
1542
1575
|
};
|
1543
|
-
|
1576
|
+
|
1544
1577
|
return TablePlugin;
|
1545
1578
|
});
|