compass-jquery-plugin 0.3.2.6 → 0.3.2.7.nil

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. data/README.md +2 -1
  2. data/VERSION.yml +2 -2
  3. data/lib/handle_js_files.rb +21 -2
  4. data/templates/dynatree/jquery.dynatree.js +23 -20
  5. data/templates/dynatree/jquery.dynatree.min.js +38 -38
  6. data/templates/dynatree/jquery/dynatree/aero.scss +1 -1
  7. data/templates/dynatree/jquery/dynatree/aqua.scss +1 -1
  8. data/templates/dynatree/jquery/dynatree/crystal.scss +1 -1
  9. data/templates/dynatree/jquery/dynatree/xp.scss +2 -2
  10. data/templates/ical/jquery/ical.scss +10 -10
  11. data/templates/jqgrid/i18n/jqgrid/locale-lt.js +134 -0
  12. data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +7 -0
  13. data/templates/jqgrid/jquery.jqGrid.js +155 -65
  14. data/templates/jqgrid/jquery.jqGrid.min.js +396 -393
  15. data/templates/jqgrid/manifest.rb +2 -0
  16. data/templates/jqtouch/jquery.jqtouch.js +166 -195
  17. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  18. data/templates/jqtouch/jquery/touch/apple.scss +5 -5
  19. data/templates/jqtouch/jquery/touch/default.scss +5 -5
  20. data/templates/jqtouch/jquery/touch/jqt.scss +12 -7
  21. data/templates/jqtouch/jquery/touch/jqtouch.scss +11 -13
  22. data/templates/jquery/history.adapter.jquery.js +54 -67
  23. data/templates/jquery/history.adapter.jquery.min.js +2 -2
  24. data/templates/jquery/history.html4.js +587 -680
  25. data/templates/jquery/history.html4.min.js +8 -18
  26. data/templates/jquery/history.js +1670 -1289
  27. data/templates/jquery/history.min.js +25 -21
  28. data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +1 -1
  29. data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
  30. data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +23 -0
  31. data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +2 -0
  32. data/templates/jquery/jquery-ui.js +97 -61
  33. data/templates/jquery/jquery-ui.min.js +175 -175
  34. data/templates/jquery/jquery.dst.js +86 -151
  35. data/templates/jquery/jquery/ui/_theme.scss +13 -13
  36. data/templates/jquery/json2.js +214 -214
  37. data/templates/jquery/manifest.rb +2 -0
  38. data/templates/mobile/jquery.mobile.js +324 -225
  39. data/templates/mobile/jquery.mobile.min.js +4 -4
  40. data/templates/mobile/jquery/mobile/_base.scss +60 -48
  41. data/templates/mobile/jquery/mobile/default.scss +57 -80
  42. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  43. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  44. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  45. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  46. data/templates/mobile/jquery/mobile/valencia.scss +61 -73
  47. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  48. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  49. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  50. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  51. data/templates/mobile/manifest.rb +0 -8
  52. data/templates/ribbon/jquery/ribbon/office.scss +12 -12
  53. data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
  54. data/templates/tiny_mce/manifest.rb +16 -0
  55. data/templates/tiny_mce/tiny_mce/jquery.tinymce.js +1 -1
  56. data/templates/tiny_mce/tiny_mce/langs/de.js +1 -0
  57. data/templates/tiny_mce/tiny_mce/langs/en.js +1 -222
  58. data/templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css +1 -5
  59. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js +1 -1
  60. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js +1 -57
  61. data/templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js +1 -43
  62. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/de_dlg.js +1 -0
  63. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -7
  64. data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +1 -58
  65. data/templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css +1 -13
  66. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -1
  67. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +1 -50
  68. data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +1 -235
  69. data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -445
  70. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -0
  71. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -45
  72. data/templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css +1 -8
  73. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js +1 -1
  74. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js +1 -61
  75. data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -525
  76. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/de_dlg.js +1 -0
  77. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -54
  78. data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -338
  79. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
  80. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -154
  81. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
  82. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -119
  83. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
  84. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +1 -431
  85. data/templates/tiny_mce/tiny_mce/plugins/autosave/langs/en.js +1 -4
  86. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
  87. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -120
  88. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
  89. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -154
  90. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin.js +1 -1
  91. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin_src.js +1 -82
  92. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin.js +1 -1
  93. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin_src.js +1 -43
  94. data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +1 -41
  95. data/templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js +1 -22
  96. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/de_dlg.js +1 -0
  97. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
  98. data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +1 -22
  99. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js +1 -1
  100. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin_src.js +1 -84
  101. data/templates/tiny_mce/tiny_mce/plugins/example/js/dialog.js +1 -19
  102. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en.js +1 -3
  103. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en_dlg.js +1 -3
  104. data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -182
  105. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
  106. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -166
  107. data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -571
  108. data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -492
  109. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/de_dlg.js +1 -0
  110. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
  111. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
  112. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js +1 -159
  113. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/fullscreen.htm +1 -109
  114. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin.js +1 -1
  115. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin_src.js +1 -54
  116. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
  117. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +1 -696
  118. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -90
  119. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +1 -387
  120. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -1
  121. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +1 -83
  122. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin.js +1 -1
  123. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin_src.js +1 -214
  124. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
  125. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -139
  126. data/templates/tiny_mce/tiny_mce/plugins/media/css/media.css +1 -17
  127. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -1
  128. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +1 -770
  129. data/templates/tiny_mce/tiny_mce/plugins/media/js/embed.js +1 -73
  130. data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -340
  131. data/templates/tiny_mce/tiny_mce/plugins/media/langs/de_dlg.js +1 -0
  132. data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +1 -109
  133. data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -812
  134. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
  135. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -53
  136. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
  137. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -90
  138. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
  139. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -74
  140. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  141. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -899
  142. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js +1 -36
  143. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js +1 -51
  144. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/de_dlg.js +1 -0
  145. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
  146. data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +1 -27
  147. data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +1 -21
  148. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin.js +1 -1
  149. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin_src.js +1 -53
  150. data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +17 -16
  151. data/templates/tiny_mce/tiny_mce/plugins/preview/jscripts/embed.js +1 -73
  152. data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +10 -9
  153. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin.js +1 -1
  154. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin_src.js +1 -34
  155. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin.js +1 -1
  156. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin_src.js +1 -101
  157. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/css/searchreplace.css +1 -6
  158. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
  159. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js +1 -61
  160. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -140
  161. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/de_dlg.js +1 -0
  162. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
  163. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +1 -100
  164. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css +1 -1
  165. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
  166. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -415
  167. data/templates/tiny_mce/tiny_mce/plugins/style/css/props.css +1 -13
  168. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js +1 -1
  169. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js +1 -55
  170. data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +1 -635
  171. data/templates/tiny_mce/tiny_mce/plugins/style/langs/de_dlg.js +1 -0
  172. data/templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js +1 -70
  173. data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +1 -838
  174. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
  175. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +1 -114
  176. data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +1 -178
  177. data/templates/tiny_mce/tiny_mce/plugins/table/css/cell.css +1 -17
  178. data/templates/tiny_mce/tiny_mce/plugins/table/css/row.css +1 -25
  179. data/templates/tiny_mce/tiny_mce/plugins/table/css/table.css +1 -13
  180. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
  181. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1183
  182. data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +1 -284
  183. data/templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js +1 -27
  184. data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +1 -232
  185. data/templates/tiny_mce/tiny_mce/plugins/table/js/table.js +1 -450
  186. data/templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js +1 -0
  187. data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
  188. data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +1 -32
  189. data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +1 -157
  190. data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +1 -188
  191. data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +1 -12
  192. data/templates/tiny_mce/tiny_mce/plugins/template/css/template.css +1 -23
  193. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js +1 -1
  194. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js +1 -159
  195. data/templates/tiny_mce/tiny_mce/plugins/template/js/template.js +1 -106
  196. data/templates/tiny_mce/tiny_mce/plugins/template/langs/de_dlg.js +1 -0
  197. data/templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
  198. data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +1 -31
  199. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
  200. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin_src.js +1 -83
  201. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
  202. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +1 -114
  203. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +1 -142
  204. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +1 -142
  205. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +1 -149
  206. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +1 -142
  207. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/attributes.css +1 -11
  208. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/popup.css +1 -9
  209. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +1 -162
  210. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
  211. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -132
  212. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +1 -162
  213. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/abbr.js +1 -28
  214. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/acronym.js +1 -28
  215. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -125
  216. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/cite.js +1 -28
  217. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js +1 -53
  218. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js +1 -229
  219. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js +1 -53
  220. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
  221. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
  222. data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +1 -52
  223. data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +1 -26
  224. data/templates/tiny_mce/tiny_mce/themes/advanced/charmap.htm +1 -51
  225. data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +1 -74
  226. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
  227. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1328
  228. data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +1 -80
  229. data/templates/tiny_mce/tiny_mce/themes/advanced/js/about.js +1 -73
  230. data/templates/tiny_mce/tiny_mce/themes/advanced/js/anchor.js +1 -42
  231. data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -354
  232. data/templates/tiny_mce/tiny_mce/themes/advanced/js/color_picker.js +1 -329
  233. data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +1 -247
  234. data/templates/tiny_mce/tiny_mce/themes/advanced/js/link.js +1 -153
  235. data/templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js +1 -56
  236. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js +1 -0
  237. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -0
  238. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js +1 -68
  239. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -54
  240. data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +1 -57
  241. data/templates/tiny_mce/tiny_mce/themes/advanced/shortcuts.htm +1 -47
  242. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +1 -47
  243. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +1 -117
  244. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -213
  245. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/content.css +1 -23
  246. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +1 -105
  247. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +1 -101
  248. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -46
  249. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -116
  250. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -215
  251. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -8
  252. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -5
  253. data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +1 -25
  254. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template.js +1 -1
  255. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js +1 -84
  256. data/templates/tiny_mce/tiny_mce/themes/simple/langs/de.js +1 -0
  257. data/templates/tiny_mce/tiny_mce/themes/simple/langs/en.js +1 -11
  258. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css +1 -25
  259. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +1 -32
  260. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/content.css +1 -17
  261. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +1 -35
  262. data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
  263. data/templates/tiny_mce/tiny_mce/tiny_mce_popup.js +1 -5
  264. data/templates/tiny_mce/tiny_mce/utils/editable_selects.js +1 -70
  265. data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -207
  266. data/templates/tiny_mce/tiny_mce/utils/mctabs.js +1 -162
  267. data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -252
  268. metadata +32 -17
  269. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  270. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  271. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  272. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  273. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  274. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  275. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  276. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
@@ -6,24 +6,28 @@
6
6
  Public Domain
7
7
  @author Benjamin Arthur Lupton <contact@balupton.com>
8
8
  */
9
- (function(h,k){h.History=h.History||{};h._History=h._History||{};var j=h.console||k,g=h.document,d=h._History,b=h.History,l=h.history;if(typeof b.initHtml5!=="undefined")throw Error("History.js HTML5 Support has already been loaded...");b.initHtml5=function(){if(typeof b.Adapter==="undefined")return false;b.options={hashChangeCheckerDelay:100,busyDelay:250};b.debug=function(){b.debug.enable&&b.log.apply(b,arguments)};b.debug.enable=false;b.log=function(){var a=typeof j!=="undefined",c=g.getElementById("log"),
10
- e="\n"+arguments[0]+"\n",f;if(a){f=Array.prototype.slice.call(arguments);e=f.shift();typeof j.debug!=="undefined"?j.debug.apply(j,[e,f]):j.log.apply(j,[e,f])}f=1;for(n=arguments.length;f<n;++f){var i=arguments[f];if(typeof i==="object"&&typeof JSON!=="undefined")try{i=JSON.stringify(i)}catch(m){}e+="\n"+i+"\n"}if(c){c.value+=e+"\n-----\n";c.scrollTop=c.scrollHeight-c.clientHeight}else a||alert(e);return true};d.getInternetExplorerMajorVersion=function(){return d.getInternetExplorerMajorVersion.cached=
11
- typeof d.getInternetExplorerMajorVersion.cached!=="undefined"?d.getInternetExplorerMajorVersion.cached:function(){for(var a=3,c=g.createElement("div"),e=c.getElementsByTagName("i");c.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]--\>",e[0];);return a>4?a:void 0}()};d.isInternetExplorer=function(){return d.isInternetExplorer.cached=typeof d.isInternetExplorer.cached!=="undefined"?d.isInternetExplorer.cached:d.getInternetExplorerMajorVersion()!==0};b.emulated={pushState:!Boolean(h.history&&h.history.pushState&&
12
- h.history.replaceState)};d.isEmptyObject=function(a){for(var c in a)if(this.hasOwnProperty(c))return false;return true};d.cloneObject=function(a){if(a){a=JSON.stringify(a);a=JSON.parse(a)}else a={};return a};b.contractUrl=function(a){a=b.expandUrl(a);var c=g.location.protocol+"//"+(g.location.hostname||g.location.host);if(g.location.port)c+=":"+g.location.port;c+="/";return a=a.replace(c,"/")};b.expandUrl=function(a){a=a||"";if(!/[a-z]+\:\/\//.test(a))if(a.length===0||a.substring(0,1)==="?")a=g.location.href.replace(/[#\?].*/,
13
- "")+a;else{var c=g.getElementsByTagName("base"),e=null;e="";if(c.length===1){e=c[0];e=e.href;if(e[e.length-1]!=="/")e+="/";a=e+a.replace(/^\//,"")}else if(a.substring(0,1)==="."){c=g.location.href.replace(/[#\?].*/,"").replace(/[^\/]+$/,"");if(c[c.length-1]!=="/")c+="/";a=c+a}else{c=g.location.protocol+"//"+(g.location.hostname||g.location.host);if(g.location.port)c+=":"+g.location.port;c+="/";a=c+a.replace(/^\//,"")}}return a};b.expandState=function(a){a=a||{};a={data:a.data||{},url:b.expandUrl(a.url||
14
- ""),title:a.title||""};a.data.title=a.data.title||a.title;a.data.url=a.data.url||a.url;return a};b.createStateObject=function(a,c,e){a={data:a,title:c,url:e};return a=b.expandState(a)};b.expandHash=function(a){var c=null;try{c=JSON.parse(a)}catch(e){var f=/(.*)\/uid=([0-9]+)$/.exec(a);if(f=f?String(f[2]||""):"")c=d.getStateByUid(f)||null;if(!c&&/\//.test(a)){a=b.expandUrl(a);c=b.createStateObject(null,null,a)}}return c=c?b.expandState(c):null};b.contractState=function(a){if(!a)return null;var c=null;
15
- if(a=d.cloneObject(a)){a.data=a.data||{};delete a.data.title;delete a.data.url;if(d.isEmptyObject(a)&&!a.title)c=b.contractUrl(a.url);else{c=JSON.stringify(a);var e;if(typeof d.hashesToUids[c]!=="undefined")e=d.hashesToUids[c];else for(;;){e=String(Math.floor(Math.random()*1E3));if(typeof d.uidsToStates[e]==="undefined")break}d.hashesToUids[c]=e;d.uidsToStates[e]=a;c=b.contractUrl(a.url)+"/uid="+e}}return c};d.uidsToStates={};d.hashesToUids={};d.getStateByUid=function(a){a=String(a);return d.uidsToStates[a]||
16
- k};d.statesByUrl={};d.duplicateStateUrls={};d.statesByHash={};d.savedStates=[];b.getState=function(){return d.getStateByIndex()};b.getStateHash=function(){return b.contractState(b.getState())};d.getStateByUrl=function(a){return d.statesByUrl[a]||k};d.getStateByHash=function(a){return d.statesByHash[a]||k};d.storeState=function(a){var c=b.contractState(a),e=d.getStateByUrl(a.url);if(typeof e!=="undefined")if(b.contractState(e)!==c)d.duplicateStateUrls[a.url]=true;d.statesByUrl[a.url]=d.statesByHash[c]=
17
- a;return true};d.isLastState=function(a){a=b.contractState(a);var c=b.getStateHash();return d.savedStates.length&&a===c};d.saveState=function(a){if(d.isLastState(a))return false;d.savedStates.push(a);return true};d.getStateByIndex=function(a){var c=null;return c=typeof a==="undefined"?d.savedStates[d.savedStates.length-1]:a<0?d.savedStates[d.savedStates.length+a]:d.savedStates[a]};d.stateUrlExists=function(a){return typeof d.statesByUrl[a]!=="undefined"};d.urlDuplicateExists=function(a){return typeof d.duplicateStateUrls[a]!==
18
- "undefined"};b.getHash=function(){return d.unescapeHash(g.location.hash)};d.unescapeHash=function(a){a=d.normalizeHash(a);if(/[\%]/.test(a))a=unescape(a);return a};d.normalizeHash=function(a){return a.replace(/[^#]*#/,"").replace(/#.*/,"")};b.setHash=function(a,c){if(c!==false&&b.busy()){b.debug("History.setHash: we must wait",arguments);b.pushQueue({scope:b,callback:b.setHash,args:arguments,queue:c});return false}var e=d.escapeHash(a);b.debug("History.setHash",this,arguments,"hash:",a,"adjustedHash:",
19
- e,"oldHash:",g.location.hash);b.busy(true);g.location.hash=e;return a};d.escapeHash=function(a){a=d.normalizeHash(a);if(/[^a-zA-Z0-9\/\-\_\%\.]/.test(a))a=escape(a);return a};b.extractHashFromUrl=function(a){a=String(a).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return a=d.unescapeHash(a)};b.isTraditionalAnchor=function(a){a=b.extractHashFromUrl(a);return typeof g.getElementById(a)!=="undefined"};b.queues=[];b.busy=function(a){b.debug("History.busy: called: changing ["+(b.busy.flag||false)+"] to ["+(a||
20
- false)+"]",b.queues);if(typeof a!=="undefined")b.busy.flag=a;else if(typeof b.busy.flag==="undefined")b.busy.flag=false;if(!b.busy.flag){clearTimeout(b.busy.timeout);var c=function(){if(!b.busy.flag)for(var e=b.queues.length-1;e>=0;--e){var f=b.queues[e];if(f.length!==0){f=f.shift();b.debug("History.busy: firing",f);b.fireQueueItem(f);b.busy.timeout=setTimeout(c,b.options.busyDelay)}}};b.busy.timeout=setTimeout(c,b.options.busyDelay)}return b.busy.flag};b.fireQueueItem=function(a){return a.callback.apply(a.scope||
21
- b,a.args||[])};b.pushQueue=function(a){b.debug("History.pushQueue: called",arguments);b.queues[a.queue||0]=b.queues[a.queue||0]||[];b.queues[a.queue||0].push(a);return true};b.queue=function(a,c){if(typeof a==="function")a={callback:a};if(typeof c!=="undefined")a.queue=c;b.busy()?b.pushQueue(a):b.fireQueueItem(a);return true};b.back=function(a){b.debug("History.back: called",arguments);if(a!==false&&b.busy()){b.debug("History.back: we must wait",arguments);b.pushQueue({scope:b,callback:b.back,args:arguments,
22
- queue:a});return false}b.busy(true);if(b.emulated.hashChange&&d.isInternetExplorer()){var c=b.getHash();setTimeout(function(){if(b.getHash()===c){b.debug("History.back: trying again");return b.back(false)}return true},b.options.hashChangeCheckerDelay*5)}l.go(-1);return true};b.forward=function(a){b.debug("History.forward: called",arguments);if(a!==false&&b.busy()){b.debug("History.forward: we must wait",arguments);b.pushQueue({scope:b,callback:b.forward,args:arguments,queue:a});return false}b.busy(true);
23
- if(b.emulated.hashChange&&d.isInternetExplorer()){var c=b.getHash();setTimeout(function(){if(b.getHash()===c){b.debug("History.forward: trying again");return b.forward(false)}return true},b.options.hashChangeCheckerDelay*5)}l.go(1);return true};b.go=function(a,c){b.debug("History.go: called",arguments);if(a>0)for(var e=1;e<=a;++e)b.forward(c);else if(a<0)for(e=-1;e>=a;--e)b.back(c);else throw Error("History.go: History.go requires a positive or negative integer passed.");return true};if(!b.emulated.pushState){d.onPopState=
24
- function(a){b.debug("_History.onPopState",this,arguments);var c=unescape(b.getHash());if(c){var e=b.expandHash(c);if(e){b.debug("_History.onPopState: state anchor",c,e);b.replaceState(e.data,e.tite,e.url,false)}else{b.debug("_History.onPopState: traditional anchor",c);b.Adapter.trigger(h,"anchorchange");b.busy(false)}return false}c={};var f=e=null;c=null;a=a||{};if(typeof a.state==="undefined")if(typeof a.originalEvent!=="undefined"&&typeof a.originalEvent.state!=="undefined")a.state=a.originalEvent.state;
25
- else if(typeof a.event!=="undefined"&&typeof a.event.state!=="undefined")a.state=a.event.state;if(a.state===null)c=a.state;else if(typeof a.state!=="undefined"){e=b.expandUrl(g.location.href);c=d.getStateByUrl(e);e=d.urlDuplicateExists(e);c=typeof c!=="undefined"&&!e?c.data:a.state}else{e=b.expandUrl(g.location.href);if((c=d.getStateByUrl(e))&&e==c.url)c=c.data;else throw Error("Unknown state");}c=typeof c!=="object"||c===null?{}:c;e=c.title||"";f=c.url||g.location.href;c=b.createStateObject(c,e,
26
- f);if(d.isLastState(c)){b.debug("_History.onPopState: no change",c,d.savedStates);b.busy(false);return false}b.debug("_History.onPopState","newState:",c,"oldState:",d.getStateByUrl(b.expandUrl(g.location.href)),"duplicateExists:",d.urlDuplicateExists(b.expandUrl(g.location.href)));d.storeState(c);d.saveState(c);if(c.title)g.title=c.title;b.Adapter.trigger(h,"statechange");b.busy(false);return true};b.Adapter.bind(h,"popstate",d.onPopState);b.pushState=function(a,c,e,f){if(b.extractHashFromUrl(e))throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");
27
- if(f!==false&&b.busy()){b.debug("History.pushState: we must wait",arguments);b.pushQueue({scope:b,callback:b.pushState,args:arguments,queue:f});return false}b.busy(true);var i=b.createStateObject(a,c,e);d.storeState(i);l.pushState(i.data,i.title,i.url);b.Adapter.trigger(h,"popstate");return true};b.replaceState=function(a,c,e,f){if(b.extractHashFromUrl(e))throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(f!==false&&b.busy()){b.debug("History.replaceState: we must wait",
28
- arguments);b.pushQueue({scope:b,callback:b.replaceState,args:arguments,queue:f});return false}b.busy(true);var i=b.createStateObject(a,c,e);d.storeState(i);l.replaceState(i.data,i.title,i.url);b.Adapter.trigger(h,"popstate");return true};if(navigator.vendor==="Apple Computer, Inc."){b.Adapter.onDomLoad(function(){b.debug("Safari Initial State Change Fix");var a=b.createStateObject({},"",g.location.href);b.pushState(a.data,a.title,a.url)});b.Adapter.bind(h,"hashchange",function(){b.Adapter.trigger(h,
29
- "popstate")})}}};b.initHtml5()})(window);
9
+ (function(h,l){var i=h.console||l,f=h.document,k=h.navigator,a=h.History=h.History||{},m=h.history;if(typeof a.init!=="undefined")throw Error("History.js Core has already been loaded...");a.init=function(){if(typeof a.Adapter==="undefined")return false;typeof a.initCore!=="undefined"&&a.initCore();typeof a.initHtml4!=="undefined"&&a.initHtml4();return true};a.initCore=function(){if(typeof a.initCore.initialized!=="undefined")return false;else a.initCore.initialized=true;a.options=a.options||{};a.options.hashChangeInterval=
10
+ a.options.hashChangeInterval||100;a.options.safariPollInterval=a.options.safariPollInterval||500;a.options.doubleCheckInterval=a.options.doubleCheckInterval||500;a.options.busyDelay=a.options.busyDelay||250;a.options.debug=a.options.debug||false;a.options.initialTitle=a.options.initialTitle||f.title;a.debug=function(){a.options.debug&&a.log.apply(a,arguments)};a.log=function(){var b=typeof i!=="undefined"&&typeof i.log!=="undefined"&&typeof i.log.apply!=="undefined",c=f.getElementById("log"),d,e,
11
+ g;if(b){e=Array.prototype.slice.call(arguments);d=e.shift();typeof i.debug!=="undefined"?i.debug.apply(i,[d,e]):i.log.apply(i,[d,e])}else d="\n"+arguments[0]+"\n";e=1;for(g=arguments.length;e<g;++e){var j=arguments[e];if(typeof j==="object"&&typeof JSON!=="undefined")try{j=JSON.stringify(j)}catch(o){}d+="\n"+j+"\n"}if(c){c.value+=d+"\n-----\n";c.scrollTop=c.scrollHeight-c.clientHeight}else b||alert(d);return true};a.getInternetExplorerMajorVersion=function(){return a.getInternetExplorerMajorVersion.cached=
12
+ typeof a.getInternetExplorerMajorVersion.cached!=="undefined"?a.getInternetExplorerMajorVersion.cached:function(){for(var b=3,c=f.createElement("div"),d=c.getElementsByTagName("i");(c.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]--\>")&&d[0];);return b>4?b:false}()};a.isInternetExplorer=function(){return a.isInternetExplorer.cached=typeof a.isInternetExplorer.cached!=="undefined"?a.isInternetExplorer.cached:Boolean(a.getInternetExplorerMajorVersion())};a.emulated={pushState:!Boolean(h.history&&
13
+ h.history.pushState&&h.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(k.userAgent)),hashChange:Boolean(!("onhashchange"in h||"onhashchange"in f)||a.isInternetExplorer()&&a.getInternetExplorerMajorVersion()<8)};a.bugs={setHash:Boolean(!a.emulated.pushState&&k.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2][0-9]|3[0-3])/.test(k.userAgent)),safariPoll:Boolean(!a.emulated.pushState&&k.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2][0-9]|3[0-3])/.test(k.userAgent)),
14
+ ieDoubleCheck:Boolean(a.isInternetExplorer()&&a.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(a.isInternetExplorer()&&a.getInternetExplorerMajorVersion()<7)};a.isEmptyObject=function(b){for(var c in b)return false;return true};a.cloneObject=function(b){if(b){b=JSON.stringify(b);b=JSON.parse(b)}else b={};return b};a.getRootUrl=function(){var b=f.location.protocol+"//"+(f.location.hostname||f.location.host);if(f.location.port)b+=":"+f.location.port;b+="/";return b};a.getBaseHref=function(){var b=
15
+ f.getElementsByTagName("base"),c=null;c="";if(b.length===1){c=b[0];c=c.href.replace(/[^\/]+$/,"")}if(c=c.replace(/\/+$/,""))c+="/";return c};a.getBaseUrl=function(){return a.getBaseHref()||a.getBasePageUrl()||a.getRootUrl()};a.getPageUrl=function(){return(a.getState().url||f.location.href).replace(/\/+$/,"").replace(/[^\/]+$/,function(b){return/\./.test(b)?b:b+"/"})};a.getBasePageUrl=function(){return f.location.href.replace(/[#\?].*/,"").replace(/[^\/]+$/,function(b){return/\./.test(b)?"":b}).replace(/\/+$/,
16
+ "")+"/"};a.getFullUrl=function(b){var c=b,d=b.substring(0,1);/[a-z]+\:\/\//.test(b)||(c=d==="/"?a.getRootUrl()+b.replace(/^\/+/,""):d==="#"?a.getPageUrl().replace(/#.*/,"")+b:d==="?"?a.getPageUrl().replace(/[\?#].*/,"")+b:a.getBaseUrl()+b);return c.replace(/\#$/,"")};a.getShortUrl=function(b){var c=a.getRootUrl();return b.replace(c,"/").replace(/\#$/,"")};a.idToState={};a.stateToId={};a.urlToId={};a.storedStates=[];a.savedStates=[];a.getState=function(b){if(typeof b==="undefined")b=true;var c=a.getLastSavedState()||
17
+ a.createStateObject();if(b){c=a.cloneObject(c);c.url=c.cleanUrl||c.url}return c};a.getIdByState=function(b){var c=a.extractId(b.url);if(!c){var d=a.getStateString(b);if(typeof a.stateToId[d]!=="undefined")c=a.stateToId[d];else{for(;;){c=String(Math.floor(Math.random()*1E3));if(typeof a.idToState[c]==="undefined")break}a.stateToId[d]=c;a.idToState[c]=b}}return c};a.normalizeState=function(b){if(!b||typeof b!=="object")b={};if(typeof b.normalized!=="undefined")return b;if(!b.data||typeof b.data!=="object")b.data=
18
+ {};var c={};c.normalized=true;c.title=b.title||"";c.url=a.getFullUrl(b.url||f.location.href);c.hash=a.getShortUrl(c.url);c.data=a.cloneObject(b.data);c.id=a.getIdByState(c);b=!a.isEmptyObject(c.data);if(c.title||b){c.hash=a.getShortUrl(c.url).replace(/\&_suid.*/,"");/\?/.test(c.hash)||(c.hash+="?");c.hash+="&_suid="+c.id}c.hashedUrl=a.getFullUrl(c.hash);c.cleanUrl=c.url.replace(/\&_suid.*/,"");if(a.hasUrlDuplicate(c))c.url=c.hashedUrl;return c};a.createStateObject=function(b,c,d){b={data:b,title:c,
19
+ url:d};return b=a.normalizeState(b)};a.getStateById=function(b){b=String(b);return a.idToState[b]||l};a.getStateString=function(b){b={data:a.normalizeState(b).data,title:b.title,url:b.url};return JSON.stringify(b)};a.getStateId=function(b){return a.normalizeState(b).id};a.getHashByState=function(b){return a.normalizeState(b).hash};a.extractId=function(b){return((b=/(.*)\&_suid=([0-9]+)$/.exec(b))?String(b[2]||""):"")||false};a.extractState=function(b,c){var d=null;c=c||false;var e=a.extractId(b);
20
+ if(e)d=a.getStateById(e);if(!d){var g=a.getFullUrl(b);if(e=a.getIdByUrl(g)||false)d=a.getStateById(e);else if(c&&/\//.test(b))d=a.createStateObject(null,null,g.replace(/\&_suid.*/,""))}return d};a.getIdByUrl=function(b){return a.urlToId[b]||false};a.getLastSavedState=function(){return a.savedStates[a.savedStates.length-1]||l};a.getLastStoredState=function(){return a.storedStates[a.storedStates.length-1]||l};a.hasUrlDuplicate=function(b){var c=false;return c=(c=a.extractState(b.url))&&c.id!==b.id};
21
+ a.storeState=function(b){a.urlToId[b.url]=b.id;a.storedStates.push(a.cloneObject(b));return b};a.isLastSavedState=function(b){var c=false;if(a.savedStates.length){b=b.id;c=a.getLastSavedState().id;c=b===c}return c};a.saveState=function(b){if(a.isLastSavedState(b))return false;a.savedStates.push(a.cloneObject(b));return true};a.getStateByIndex=function(b){var c=null;return c=typeof b==="undefined"?a.savedStates[a.savedStates.length-1]:b<0?a.savedStates[a.savedStates.length+b]:a.savedStates[b]};a.getHash=
22
+ function(){return a.unescapeHash(f.location.hash)};a.unescapeHash=function(b){b=a.normalizeHash(b);if(/\%[^2][^5]/.test(b))b=h.unescape(b);return b};a.normalizeHash=function(b){return b.replace(/[^#]*#/,"").replace(/#.*/,"")};a.setHash=function(b,c){if(c!==false&&a.busy()){a.pushQueue({scope:a,callback:a.setHash,args:arguments,queue:c});return false}var d=a.escapeHash(b);a.busy(true);var e=a.extractState(b,true);if(e&&!a.emulated.pushState)a.pushState(e.data,e.title,e.url,false);else if(f.location.hash!==
23
+ d)if(a.bugs.setHash){e=a.getPageUrl();a.pushState(null,null,e+"#"+d,false)}else f.location.hash=d;return a};a.escapeHash=function(b){b=a.normalizeHash(b);b=h.escape(b);a.bugs.hashEscape||(b=b.replace("%21","!").replace("%26","&").replace("%3D","=").replace("%3F","?"));return b};a.getHashByUrl=function(b){b=String(b).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return b=a.unescapeHash(b)};a.isTraditionalAnchor=function(b){b=a.getHashByUrl(b);return typeof f.getElementById(b)!=="undefined"};a.setTitle=function(b){var c=
24
+ b.title;if(!c){var d=a.getStateByIndex(0);if(d&&d.url===b.url)c=d.title||a.options.initialTitle}try{f.getElementsByTagName("title")[0].innerHTML=c.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(e){}f.title=c;return a};a.queues=[];a.busy=function(b){if(typeof b!=="undefined")a.busy.flag=b;else if(typeof a.busy.flag==="undefined")a.busy.flag=false;if(!a.busy.flag){clearTimeout(a.busy.timeout);var c=function(){if(!a.busy.flag)for(var d=a.queues.length-1;d>=0;--d){var e=a.queues[d];
25
+ if(e.length!==0){e=e.shift();a.fireQueueItem(e);a.busy.timeout=setTimeout(c,a.options.busyDelay)}}};a.busy.timeout=setTimeout(c,a.options.busyDelay)}return a.busy.flag};a.fireQueueItem=function(b){return b.callback.apply(b.scope||a,b.args||[])};a.pushQueue=function(b){a.queues[b.queue||0]=a.queues[b.queue||0]||[];a.queues[b.queue||0].push(b);return a};a.queue=function(b,c){if(typeof b==="function")b={callback:b};if(typeof c!=="undefined")b.queue=c;a.busy()?a.pushQueue(b):a.fireQueueItem(b);return a};
26
+ a.clearQueue=function(){a.busy.flag=false;a.queues=[];return a};a.stateChanged=false;a.doubleChecker=false;a.doubleCheckComplete=function(){a.stateChanged=true;a.doubleCheckClear();return a};a.doubleCheckClear=function(){if(a.doubleChecker){clearTimeout(a.doubleChecker);a.doubleChecker=false}return a};a.doubleCheck=function(b){a.stateChanged=false;a.doubleCheckClear();if(a.bugs.ieDoubleCheck)a.doubleChecker=setTimeout(function(){a.doubleCheckClear();a.stateChanged||b();return true},a.options.doubleCheckInterval);
27
+ return a};a.safariStatePoll=function(){var b=a.extractState(f.location.href);if(!a.isLastSavedState(b)){b||a.createStateObject();a.Adapter.trigger(h,"popstate");return a}};a.back=function(b){if(b!==false&&a.busy()){a.pushQueue({scope:a,callback:a.back,args:arguments,queue:b});return false}a.busy(true);a.doubleCheck(function(){a.back(false)});m.go(-1);return true};a.forward=function(b){if(b!==false&&a.busy()){a.pushQueue({scope:a,callback:a.forward,args:arguments,queue:b});return false}a.busy(true);
28
+ a.doubleCheck(function(){a.forward(false)});m.go(1);return true};a.go=function(b,c){var d;if(b>0)for(d=1;d<=b;++d)a.forward(c);else if(b<0)for(d=-1;d>=b;--d)a.back(c);else throw Error("History.go: History.go requires a positive or negative integer passed.");return a};if(a.emulated.pushState){var n=function(){};a.pushState=a.pushState||n;a.replaceState=a.replaceState||n}else{a.onPopState=function(b){a.doubleCheckComplete();var c=a.getHash();if(c){if(b=a.extractState(c||f.location.href,true))a.replaceState(b.data,
29
+ b.title,b.url,false);else{a.Adapter.trigger(h,"anchorchange");a.busy(false)}return a.expectedStateId=false}c=null;b=b||{};if(typeof b.state==="undefined")if(typeof b.originalEvent!=="undefined"&&typeof b.originalEvent.state!=="undefined")b.state=b.originalEvent.state||false;else if(typeof b.event!=="undefined"&&typeof b.event.state!=="undefined")b.state=b.event.state||false;b.state=b.state||false;c=b.state?a.getStateById(b.state):a.expectedStateId?a.getStateById(a.expectedStateId):a.extractState(f.location.href);
30
+ a.expectedStateId=false;if(a.isLastSavedState(c)){a.busy(false);return false}a.storeState(c);a.saveState(c);a.setTitle(c);a.Adapter.trigger(h,"statechange");a.busy(false);return true};a.Adapter.bind(h,"popstate",a.onPopState);a.pushState=function(b,c,d,e){if(a.getHashByUrl(d)&&a.emulated.pushState)throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(e!==false&&a.busy()){a.pushQueue({scope:a,callback:a.pushState,args:arguments,queue:e});return false}a.busy(true);
31
+ var g=a.createStateObject(b,c,d);if(a.isLastSavedState(g))a.busy(false);else{a.storeState(g);a.expectedStateId=g.id;var j=a.bugs.safariPoll&&a.hasUrlDuplicate(g)?g.hashedUrl:g.url;m.pushState(g.id,g.title,j);a.Adapter.trigger(h,"popstate")}return true};a.replaceState=function(b,c,d,e){if(a.getHashByUrl(d)&&a.emulated.pushState)throw Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(e!==false&&a.busy()){a.pushQueue({scope:a,callback:a.replaceState,args:arguments,
32
+ queue:e});return false}a.busy(true);var g=a.createStateObject(b,c,d);if(a.isLastSavedState(g))a.busy(false);else{a.storeState(g);a.expectedStateId=g.id;var j=a.bugs.safariPoll&&a.hasUrlDuplicate(g)?g.hashedUrl:g.url;m.replaceState(g.id,g.title,j);a.Adapter.trigger(h,"popstate")}return true};a.saveState(a.storeState(a.createStateObject({},"",f.location.href)));a.bugs.safariPoll&&setInterval(a.safariStatePoll,a.options.safariPollInterval);if(k.vendor==="Apple Computer, Inc."||(k.appCodeName||"")===
33
+ "Mozilla"){a.Adapter.bind(h,"hashchange",function(){a.Adapter.trigger(h,"popstate")});a.getHash()&&a.Adapter.onDomLoad(function(){a.Adapter.trigger(h,"hashchange")})}}};a.init()})(window);
@@ -7,7 +7,7 @@ jQuery(function($) {
7
7
  prevText: '&#x3c;السابق',
8
8
  nextText: 'التالي&#x3e;',
9
9
  currentText: 'اليوم',
10
- monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
10
+ monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
11
11
  'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
12
12
  monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
13
13
  dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
@@ -1,2 +1,2 @@
1
- jQuery(function(a){a.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3c;السابق",nextText:"التالي&#x3e;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","آذار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد",
1
+ jQuery(function(a){a.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3c;السابق",nextText:"التالي&#x3e;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد",
2
2
  "الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:true,showMonthAfterYear:false,yearSuffix:""};a.datepicker.setDefaults(a.datepicker.regional.ar)});
@@ -0,0 +1,23 @@
1
+ /* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Abdurahmon Saidov (saidovab@gmail.com). */
3
+ jQuery(function($) {
4
+ $.datepicker.regional['tj'] = {
5
+ closeText: 'Идома',
6
+ prevText: '&#x3c;Қафо',
7
+ nextText: 'Пеш&#x3e;',
8
+ currentText: 'Имрӯз',
9
+ monthNames: ['Январ','Феврал','Март','Апрел','Май','Июн',
10
+ 'Июл','Август','Сентябр','Октябр','Ноябр','Декабр'],
11
+ monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
12
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
13
+ dayNames: ['якшанбе','душанбе','сешанбе','чоршанбе','панҷшанбе','ҷумъа','шанбе'],
14
+ dayNamesShort: ['якш','душ','сеш','чор','пан','ҷум','шан'],
15
+ dayNamesMin: ['Як','Дш','Сш','Чш','Пш','Ҷм','Шн'],
16
+ weekHeader: 'Хф',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+ $.datepicker.setDefaults($.datepicker.regional['tj']);
23
+ });
@@ -0,0 +1,2 @@
1
+ jQuery(function(a){a.datepicker.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм",
2
+ "Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:""};a.datepicker.setDefaults(a.datepicker.regional.tj)});
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI @VERSION
2
+ * jQuery UI 1.8.11
3
3
  *
4
4
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
5
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  $.extend($.ui, {
21
- version: "@VERSION",
21
+ version: "1.8.11",
22
22
 
23
23
  keyCode: {
24
24
  ALT: 18,
@@ -309,7 +309,7 @@
309
309
 
310
310
 
311
311
  /*!
312
- * jQuery UI Widget @VERSION
312
+ * jQuery UI Widget 1.8.11
313
313
  *
314
314
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
315
315
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -575,7 +575,7 @@
575
575
 
576
576
 
577
577
  /*!
578
- * jQuery UI Mouse @VERSION
578
+ * jQuery UI Mouse 1.8.11
579
579
  *
580
580
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
581
581
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -653,6 +653,11 @@
653
653
  }
654
654
  }
655
655
 
656
+ // Click event may never have fired (Gecko & Opera)
657
+ if (true === $.data(event.target, this.widgetName + '.preventClickEvent')) {
658
+ $.removeData(event.target, this.widgetName + '.preventClickEvent');
659
+ }
660
+
656
661
  // these delegates are required to keep context
657
662
  this._mouseMoveDelegate = function(event) {
658
663
  return self._mouseMove(event);
@@ -735,7 +740,7 @@
735
740
 
736
741
 
737
742
  /*
738
- * jQuery UI Accordion @VERSION
743
+ * jQuery UI Accordion 1.8.11
739
744
  *
740
745
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
741
746
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -850,6 +855,7 @@
850
855
  .not(self.active || "")
851
856
  .attr({
852
857
  "aria-expanded": "false",
858
+ "aria-selected": "false",
853
859
  tabIndex: -1
854
860
  })
855
861
  .next()
@@ -862,6 +868,7 @@
862
868
  self.active
863
869
  .attr({
864
870
  "aria-expanded": "true",
871
+ "aria-selected": "true",
865
872
  tabIndex: 0
866
873
  });
867
874
  }
@@ -909,6 +916,7 @@
909
916
  .removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top")
910
917
  .removeAttr("role")
911
918
  .removeAttr("aria-expanded")
919
+ .removeAttr("aria-selected")
912
920
  .removeAttr("tabIndex");
913
921
 
914
922
  this.headers.find("a").removeAttr("tabIndex");
@@ -1213,12 +1221,14 @@
1213
1221
  toHide.prev()
1214
1222
  .attr({
1215
1223
  "aria-expanded": "false",
1224
+ "aria-selected": "false",
1216
1225
  tabIndex: -1
1217
1226
  })
1218
1227
  .blur();
1219
1228
  toShow.prev()
1220
1229
  .attr({
1221
1230
  "aria-expanded": "true",
1231
+ "aria-selected": "true",
1222
1232
  tabIndex: 0
1223
1233
  })
1224
1234
  .focus();
@@ -1249,7 +1259,7 @@
1249
1259
  });
1250
1260
 
1251
1261
  $.extend($.ui.accordion, {
1252
- version: "@VERSION",
1262
+ version: "1.8.11",
1253
1263
  animations: {
1254
1264
  slide: function(options, additions) {
1255
1265
  options = $.extend({
@@ -1343,7 +1353,7 @@
1343
1353
 
1344
1354
 
1345
1355
  /*
1346
- * jQuery UI Autocomplete @VERSION
1356
+ * jQuery UI Autocomplete 1.8.11
1347
1357
  *
1348
1358
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
1349
1359
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -1364,6 +1374,7 @@
1364
1374
  $.widget("ui.autocomplete", {
1365
1375
  options: {
1366
1376
  appendTo: "body",
1377
+ autoFocus: false,
1367
1378
  delay: 300,
1368
1379
  minLength: 1,
1369
1380
  position: {
@@ -1709,6 +1720,10 @@
1709
1720
  ul.position($.extend({
1710
1721
  of: this.element
1711
1722
  }, this.options.position));
1723
+
1724
+ if (this.options.autoFocus) {
1725
+ this.menu.next(new $.Event("mouseover"));
1726
+ }
1712
1727
  },
1713
1728
 
1714
1729
  _resizeMenu: function() {
@@ -1954,7 +1969,7 @@
1954
1969
 
1955
1970
 
1956
1971
  /*
1957
- * jQuery UI Button @VERSION
1972
+ * jQuery UI Button 1.8.11
1958
1973
  *
1959
1974
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
1960
1975
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -2155,8 +2170,16 @@
2155
2170
  if (this.type === "checkbox" || this.type === "radio") {
2156
2171
  // we don't search against the document in case the element
2157
2172
  // is disconnected from the DOM
2158
- this.buttonElement = this.element.parents().last()
2159
- .find("label[for=" + this.element.attr("id") + "]");
2173
+ var ancestor = this.element.parents().filter(":last"),
2174
+ labelSelector = "label[for=" + this.element.attr("id") + "]";
2175
+ this.buttonElement = ancestor.find(labelSelector);
2176
+ if (!this.buttonElement.length) {
2177
+ ancestor = ancestor.length ? ancestor.siblings() : this.element.siblings();
2178
+ this.buttonElement = ancestor.filter(labelSelector);
2179
+ if (!this.buttonElement.length) {
2180
+ this.buttonElement = ancestor.find(labelSelector);
2181
+ }
2182
+ }
2160
2183
  this.element.addClass("ui-helper-hidden-accessible");
2161
2184
 
2162
2185
  var checked = this.element.is(":checked");
@@ -2249,7 +2272,9 @@
2249
2272
  buttonClasses = [];
2250
2273
 
2251
2274
  if (icons.primary || icons.secondary) {
2252
- buttonClasses.push("ui-button-text-icon" + ( multipleIcons ? "s" : ( icons.primary ? "-primary" : "-secondary" ) ));
2275
+ if (this.options.text) {
2276
+ buttonClasses.push("ui-button-text-icon" + ( multipleIcons ? "s" : ( icons.primary ? "-primary" : "-secondary" ) ));
2277
+ }
2253
2278
 
2254
2279
  if (icons.primary) {
2255
2280
  buttonElement.prepend("<span class='ui-button-icon-primary ui-icon " + icons.primary + "'></span>");
@@ -2261,7 +2286,6 @@
2261
2286
 
2262
2287
  if (!this.options.text) {
2263
2288
  buttonClasses.push(multipleIcons ? "ui-button-icons-only" : "ui-button-icon-only");
2264
- buttonElement.removeClass("ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary");
2265
2289
 
2266
2290
  if (!this.hasTitle) {
2267
2291
  buttonElement.attr("title", buttonText);
@@ -2334,7 +2358,7 @@
2334
2358
 
2335
2359
 
2336
2360
  /*
2337
- * jQuery UI Datepicker @VERSION
2361
+ * jQuery UI Datepicker 1.8.11
2338
2362
  *
2339
2363
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
2340
2364
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -2347,7 +2371,7 @@
2347
2371
  */
2348
2372
  (function($, undefined) {
2349
2373
 
2350
- $.extend($.ui, { datepicker: { version: "@VERSION" } });
2374
+ $.extend($.ui, { datepicker: { version: "1.8.11" } });
2351
2375
 
2352
2376
  var PROP_NAME = 'datepicker';
2353
2377
  var dpuuid = new Date().getTime();
@@ -2791,7 +2815,14 @@
2791
2815
  this._hideDatepicker();
2792
2816
  }
2793
2817
  var date = this._getDateDatepicker(target, true);
2818
+ var minDate = this._getMinMaxDate(inst, 'min');
2819
+ var maxDate = this._getMinMaxDate(inst, 'max');
2794
2820
  extendRemove(inst.settings, settings);
2821
+ // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
2822
+ if (minDate !== null && settings['dateFormat'] !== undefined && settings['minDate'] === undefined)
2823
+ inst.settings.minDate = this._formatDate(inst, minDate);
2824
+ if (maxDate !== null && settings['dateFormat'] !== undefined && settings['maxDate'] === undefined)
2825
+ inst.settings.maxDate = this._formatDate(inst, maxDate);
2795
2826
  this._attachments($(target), inst);
2796
2827
  this._autoSize(inst);
2797
2828
  this._setDateDatepicker(target, date);
@@ -4109,7 +4140,7 @@
4109
4140
  $.datepicker = new Datepicker(); // singleton instance
4110
4141
  $.datepicker.initialized = false;
4111
4142
  $.datepicker.uuid = new Date().getTime();
4112
- $.datepicker.version = "@VERSION";
4143
+ $.datepicker.version = "1.8.11";
4113
4144
 
4114
4145
  // Workaround for #4055
4115
4146
  // Add another global to avoid noConflict issues with inline event handlers
@@ -4119,7 +4150,7 @@
4119
4150
 
4120
4151
 
4121
4152
  /*
4122
- * jQuery UI Dialog @VERSION
4153
+ * jQuery UI Dialog 1.8.11
4123
4154
  *
4124
4155
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
4125
4156
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -4803,7 +4834,7 @@
4803
4834
  });
4804
4835
 
4805
4836
  $.extend($.ui.dialog, {
4806
- version: "@VERSION",
4837
+ version: "1.8.11",
4807
4838
 
4808
4839
  uuid: 0,
4809
4840
  maxZ: 0,
@@ -4982,7 +5013,7 @@
4982
5013
 
4983
5014
 
4984
5015
  /*
4985
- * jQuery UI Draggable @VERSION
5016
+ * jQuery UI Draggable 1.8.11
4986
5017
  *
4987
5018
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
4988
5019
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -5300,7 +5331,9 @@
5300
5331
  _cacheMargins: function() {
5301
5332
  this.margins = {
5302
5333
  left: (parseInt(this.element.css("marginLeft"), 10) || 0),
5303
- top: (parseInt(this.element.css("marginTop"), 10) || 0)
5334
+ top: (parseInt(this.element.css("marginTop"), 10) || 0),
5335
+ right: (parseInt(this.element.css("marginRight"), 10) || 0),
5336
+ bottom: (parseInt(this.element.css("marginBottom"), 10) || 0)
5304
5337
  };
5305
5338
  },
5306
5339
 
@@ -5329,10 +5362,10 @@
5329
5362
  var over = ($(ce).css("overflow") != 'hidden');
5330
5363
 
5331
5364
  this.containment = [
5332
- co.left + (parseInt($(ce).css("borderLeftWidth"), 10) || 0) + (parseInt($(ce).css("paddingLeft"), 10) || 0) - this.margins.left,
5333
- co.top + (parseInt($(ce).css("borderTopWidth"), 10) || 0) + (parseInt($(ce).css("paddingTop"), 10) || 0) - this.margins.top,
5334
- co.left + (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"), 10) || 0) - (parseInt($(ce).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left,
5335
- co.top + (over ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"), 10) || 0) - (parseInt($(ce).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top
5365
+ co.left + (parseInt($(ce).css("borderLeftWidth"), 10) || 0) + (parseInt($(ce).css("paddingLeft"), 10) || 0),
5366
+ co.top + (parseInt($(ce).css("borderTopWidth"), 10) || 0) + (parseInt($(ce).css("paddingTop"), 10) || 0),
5367
+ co.left + (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"), 10) || 0) - (parseInt($(ce).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right,
5368
+ co.top + (over ? Math.max(ce.scrollHeight, ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"), 10) || 0) - (parseInt($(ce).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom
5336
5369
  ];
5337
5370
  } else if (o.containment.constructor == Array) {
5338
5371
  this.containment = o.containment;
@@ -5443,7 +5476,7 @@
5443
5476
  });
5444
5477
 
5445
5478
  $.extend($.ui.draggable, {
5446
- version: "@VERSION"
5479
+ version: "1.8.11"
5447
5480
  });
5448
5481
 
5449
5482
  $.ui.plugin.add("draggable", "connectToSortable", {
@@ -5459,7 +5492,7 @@
5459
5492
  instance: sortable,
5460
5493
  shouldRevert: sortable.options.revert
5461
5494
  });
5462
- sortable._refreshItems(); //Do a one-time refresh at start to refresh the containerCache
5495
+ sortable.refreshPositions(); // Call the sortable's refreshPositions at drag start to refresh the containerCache since the sortable container cache is used in drag and needs to be up to date (this will ensure it's initialised as well as being kept in step with any changes that might have happened on the page).
5463
5496
  sortable._trigger("activate", event, uiSortable);
5464
5497
  }
5465
5498
  });
@@ -5791,7 +5824,7 @@
5791
5824
 
5792
5825
 
5793
5826
  /*
5794
- * jQuery UI Droppable @VERSION
5827
+ * jQuery UI Droppable 1.8.11
5795
5828
  *
5796
5829
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5797
5830
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -5943,7 +5976,7 @@
5943
5976
  });
5944
5977
 
5945
5978
  $.extend($.ui.droppable, {
5946
- version: "@VERSION"
5979
+ version: "1.8.11"
5947
5980
  });
5948
5981
 
5949
5982
  $.ui.intersect = function(draggable, droppable, toleranceMode) {
@@ -6015,11 +6048,11 @@
6015
6048
  m[i].visible = m[i].element.css("display") != "none";
6016
6049
  if (!m[i].visible) continue; //If the element is not visible, continue
6017
6050
 
6051
+ if (type == "mousedown") m[i]._activate.call(m[i], event); //Activate the droppable if used directly from draggables
6052
+
6018
6053
  m[i].offset = m[i].element.offset();
6019
6054
  m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };
6020
6055
 
6021
- if (type == "mousedown") m[i]._activate.call(m[i], event); //Activate the droppable if used directly from draggables
6022
-
6023
6056
  }
6024
6057
 
6025
6058
  },
@@ -6511,7 +6544,7 @@
6511
6544
 
6512
6545
 
6513
6546
  /*
6514
- * jQuery UI Position @VERSION
6547
+ * jQuery UI Position 1.8.11
6515
6548
  *
6516
6549
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
6517
6550
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -6767,7 +6800,7 @@
6767
6800
 
6768
6801
 
6769
6802
  /*
6770
- * jQuery UI Progressbar @VERSION
6803
+ * jQuery UI Progressbar 1.8.11
6771
6804
  *
6772
6805
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
6773
6806
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -6870,14 +6903,14 @@
6870
6903
  });
6871
6904
 
6872
6905
  $.extend($.ui.progressbar, {
6873
- version: "@VERSION"
6906
+ version: "1.8.11"
6874
6907
  });
6875
6908
 
6876
6909
  })(jQuery);
6877
6910
 
6878
6911
 
6879
6912
  /*
6880
- * jQuery UI Resizable @VERSION
6913
+ * jQuery UI Resizable 1.8.11
6881
6914
  *
6882
6915
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
6883
6916
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -7400,7 +7433,7 @@
7400
7433
  });
7401
7434
 
7402
7435
  $.extend($.ui.resizable, {
7403
- version: "@VERSION"
7436
+ version: "1.8.11"
7404
7437
  });
7405
7438
 
7406
7439
  /*
@@ -7707,7 +7740,7 @@
7707
7740
 
7708
7741
 
7709
7742
  /*
7710
- * jQuery UI Selectable @VERSION
7743
+ * jQuery UI Selectable 1.8.11
7711
7744
  *
7712
7745
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
7713
7746
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -7976,7 +8009,7 @@
7976
8009
  });
7977
8010
 
7978
8011
  $.extend($.ui.selectable, {
7979
- version: "@VERSION"
8012
+ version: "1.8.11"
7980
8013
  });
7981
8014
 
7982
8015
  })(jQuery);
@@ -8031,6 +8064,9 @@
8031
8064
  // define safe mouseup for future toggling
8032
8065
  this._safemouseup = true;
8033
8066
 
8067
+ // FIXME temp workaround for IE
8068
+ if ($.browser.msie) o.typeAhead = "";
8069
+
8034
8070
  // create menu button wrapper
8035
8071
  this.newelement = $('<a class="' + this.widgetBaseClass + ' ui-widget ui-state-default ui-corner-all" id="' + this.ids[0] + '" role="button" href="#" tabindex="0" aria-haspopup="true" aria-owns="' + this.ids[1] + '"></a>')
8036
8072
  .insertAfter(this.element);
@@ -8207,8 +8243,8 @@
8207
8243
  break;
8208
8244
  default:
8209
8245
  ret = true;
8210
-
8211
- self._typeAhead(event.keyCode, 'focus'); break;
8246
+ self._typeAhead(event.keyCode, 'focus');
8247
+ break;
8212
8248
  }
8213
8249
  return ret;
8214
8250
  });
@@ -8693,7 +8729,7 @@
8693
8729
 
8694
8730
 
8695
8731
  /*
8696
- * jQuery UI Slider @VERSION
8732
+ * jQuery UI Slider 1.8.11
8697
8733
  *
8698
8734
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
8699
8735
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -9370,14 +9406,14 @@
9370
9406
  });
9371
9407
 
9372
9408
  $.extend($.ui.slider, {
9373
- version: "@VERSION"
9409
+ version: "1.8.11"
9374
9410
  });
9375
9411
 
9376
9412
  }(jQuery));
9377
9413
 
9378
9414
 
9379
9415
  /*
9380
- * jQuery UI Sortable @VERSION
9416
+ * jQuery UI Sortable 1.8.11
9381
9417
  *
9382
9418
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
9383
9419
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -9427,8 +9463,8 @@
9427
9463
  //Get the items
9428
9464
  this.refresh();
9429
9465
 
9430
- //Let's determine if the items are floating
9431
- this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) : false;
9466
+ //Let's determine if the items are being displayed horizontally
9467
+ this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false;
9432
9468
 
9433
9469
  //Let's determine the parent's offset
9434
9470
  this.offset = this.element.offset();
@@ -10506,14 +10542,14 @@
10506
10542
  });
10507
10543
 
10508
10544
  $.extend($.ui.sortable, {
10509
- version: "@VERSION"
10545
+ version: "1.8.11"
10510
10546
  });
10511
10547
 
10512
10548
  })(jQuery);
10513
10549
 
10514
10550
 
10515
10551
  /*
10516
- * jQuery UI Tabs @VERSION
10552
+ * jQuery UI Tabs 1.8.11
10517
10553
  *
10518
10554
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
10519
10555
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -11215,7 +11251,7 @@
11215
11251
  });
11216
11252
 
11217
11253
  $.extend($.ui.tabs, {
11218
- version: "@VERSION"
11254
+ version: "1.8.11"
11219
11255
  });
11220
11256
 
11221
11257
  /*
@@ -11276,7 +11312,7 @@
11276
11312
 
11277
11313
 
11278
11314
  /*
11279
- * jQuery UI Effects @VERSION
11315
+ * jQuery UI Effects 1.8.11
11280
11316
  *
11281
11317
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
11282
11318
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -11608,7 +11644,7 @@ jQuery.effects || (function($, undefined) {
11608
11644
  /******************************************************************************/
11609
11645
 
11610
11646
  $.extend($.effects, {
11611
- version: "@VERSION",
11647
+ version: "1.8.11",
11612
11648
 
11613
11649
  // Saves a set of properties in a data storage
11614
11650
  save: function(element, set) {
@@ -12071,7 +12107,7 @@ jQuery.effects || (function($, undefined) {
12071
12107
 
12072
12108
 
12073
12109
  /*
12074
- * jQuery UI Effects Blind @VERSION
12110
+ * jQuery UI Effects Blind 1.8.11
12075
12111
  *
12076
12112
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12077
12113
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12124,7 +12160,7 @@ jQuery.effects || (function($, undefined) {
12124
12160
 
12125
12161
 
12126
12162
  /*
12127
- * jQuery UI Effects Bounce @VERSION
12163
+ * jQuery UI Effects Bounce 1.8.11
12128
12164
  *
12129
12165
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12130
12166
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12212,7 +12248,7 @@ jQuery.effects || (function($, undefined) {
12212
12248
 
12213
12249
 
12214
12250
  /*
12215
- * jQuery UI Effects Clip @VERSION
12251
+ * jQuery UI Effects Clip 1.8.11
12216
12252
  *
12217
12253
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12218
12254
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12273,7 +12309,7 @@ jQuery.effects || (function($, undefined) {
12273
12309
 
12274
12310
 
12275
12311
  /*
12276
- * jQuery UI Effects Drop @VERSION
12312
+ * jQuery UI Effects Drop 1.8.11
12277
12313
  *
12278
12314
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12279
12315
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12327,7 +12363,7 @@ jQuery.effects || (function($, undefined) {
12327
12363
 
12328
12364
 
12329
12365
  /*
12330
- * jQuery UI Effects Explode @VERSION
12366
+ * jQuery UI Effects Explode 1.8.11
12331
12367
  *
12332
12368
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12333
12369
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12408,7 +12444,7 @@ jQuery.effects || (function($, undefined) {
12408
12444
 
12409
12445
 
12410
12446
  /*
12411
- * jQuery UI Effects Fade @VERSION
12447
+ * jQuery UI Effects Fade 1.8.11
12412
12448
  *
12413
12449
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12414
12450
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12442,7 +12478,7 @@ jQuery.effects || (function($, undefined) {
12442
12478
 
12443
12479
 
12444
12480
  /*
12445
- * jQuery UI Effects Fold @VERSION
12481
+ * jQuery UI Effects Fold 1.8.11
12446
12482
  *
12447
12483
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12448
12484
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12502,7 +12538,7 @@ jQuery.effects || (function($, undefined) {
12502
12538
 
12503
12539
 
12504
12540
  /*
12505
- * jQuery UI Effects Highlight @VERSION
12541
+ * jQuery UI Effects Highlight 1.8.11
12506
12542
  *
12507
12543
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12508
12544
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12554,7 +12590,7 @@ jQuery.effects || (function($, undefined) {
12554
12590
 
12555
12591
 
12556
12592
  /*
12557
- * jQuery UI Effects Pulsate @VERSION
12593
+ * jQuery UI Effects Pulsate 1.8.11
12558
12594
  *
12559
12595
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12560
12596
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12609,7 +12645,7 @@ jQuery.effects || (function($, undefined) {
12609
12645
 
12610
12646
 
12611
12647
  /*
12612
- * jQuery UI Effects Scale @VERSION
12648
+ * jQuery UI Effects Scale 1.8.11
12613
12649
  *
12614
12650
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12615
12651
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12811,7 +12847,7 @@ jQuery.effects || (function($, undefined) {
12811
12847
 
12812
12848
 
12813
12849
  /*
12814
- * jQuery UI Effects Shake @VERSION
12850
+ * jQuery UI Effects Shake 1.8.11
12815
12851
  *
12816
12852
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12817
12853
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12875,7 +12911,7 @@ jQuery.effects || (function($, undefined) {
12875
12911
 
12876
12912
 
12877
12913
  /*
12878
- * jQuery UI Effects Slide @VERSION
12914
+ * jQuery UI Effects Slide 1.8.11
12879
12915
  *
12880
12916
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12881
12917
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12929,7 +12965,7 @@ jQuery.effects || (function($, undefined) {
12929
12965
 
12930
12966
 
12931
12967
  /*
12932
- * jQuery UI Effects Transfer @VERSION
12968
+ * jQuery UI Effects Transfer 1.8.11
12933
12969
  *
12934
12970
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12935
12971
  * Dual licensed under the MIT or GPL Version 2 licenses.