hydroponics 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (410) hide show
  1. data/README.rdoc +2 -2
  2. data/Rakefile +1 -0
  3. data/VERSION +1 -1
  4. data/bin/hydro +19 -5
  5. data/hydroponics.gemspec +409 -3
  6. data/lib/db_remote.rb +23 -0
  7. data/lib/hydroponics.rb +17 -4
  8. data/lib/views/index.erb +26 -0
  9. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  10. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  11. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  12. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  13. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  14. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  15. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  16. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  17. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  18. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  19. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  20. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  21. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  22. data/static/jquery-ui-1.8.5.custom/css/smoothness/jquery-ui-1.8.5.custom.css +572 -0
  23. data/static/jquery-ui-1.8.5.custom/development-bundle/AUTHORS.txt +30 -0
  24. data/static/jquery-ui-1.8.5.custom/development-bundle/GPL-LICENSE.txt +278 -0
  25. data/static/jquery-ui-1.8.5.custom/development-bundle/MIT-LICENSE.txt +25 -0
  26. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/collapsible.html +57 -0
  27. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/custom-icons.html +69 -0
  28. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/default.html +85 -0
  29. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/fillspace.html +76 -0
  30. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/hoverintent.html +134 -0
  31. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/index.html +25 -0
  32. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/mouseover.html +57 -0
  33. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/no-auto-height.html +60 -0
  34. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/sortable.html +83 -0
  35. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/default.html +52 -0
  36. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/index.html +18 -0
  37. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/default.html +61 -0
  38. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/index.html +18 -0
  39. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/categories.html +71 -0
  40. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/combobox.html +163 -0
  41. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/custom-data.html +95 -0
  42. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/default.html +64 -0
  43. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/folding.html +62 -0
  44. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
  45. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  46. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  47. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
  48. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  49. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/index.html +27 -0
  50. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/london.xml +114 -0
  51. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/maxheight.html +75 -0
  52. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple-remote.html +76 -0
  53. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple.html +91 -0
  54. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
  55. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
  56. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote.html +59 -0
  57. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/search.php +640 -0
  58. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/xml.html +72 -0
  59. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/checkbox.html +44 -0
  60. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/default.html +38 -0
  61. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/icons.html +56 -0
  62. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/index.html +23 -0
  63. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/radio.html +39 -0
  64. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/splitbutton.html +55 -0
  65. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/toolbar.html +120 -0
  66. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/alt-field.html +36 -0
  67. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/animation.html +58 -0
  68. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/buttonbar.html +35 -0
  69. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/date-formats.html +47 -0
  70. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/default.html +33 -0
  71. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
  72. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/event-search.html +49 -0
  73. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/icon-trigger.html +37 -0
  74. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  75. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/index.html +31 -0
  76. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/inline.html +33 -0
  77. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/localization.html +146 -0
  78. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/min-max.html +33 -0
  79. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
  80. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/other-months.html +37 -0
  81. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/show-week.html +39 -0
  82. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/demos.css +334 -0
  83. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/animated.html +56 -0
  84. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/default.html +54 -0
  85. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/index.html +23 -0
  86. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-confirmation.html +69 -0
  87. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-form.html +167 -0
  88. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-message.html +71 -0
  89. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal.html +60 -0
  90. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/constrain-movement.html +69 -0
  91. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/cursor-style.html +49 -0
  92. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/default.html +39 -0
  93. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/delay-start.html +45 -0
  94. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/events.html +77 -0
  95. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/handle.html +50 -0
  96. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/index.html +28 -0
  97. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/revert.html +44 -0
  98. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/scroll.html +51 -0
  99. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/snap-to.html +68 -0
  100. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/sortable.html +57 -0
  101. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/visual-feedback.html +77 -0
  102. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/accepted-elements.html +60 -0
  103. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/default.html +53 -0
  104. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  105. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  106. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  107. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  108. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  109. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  110. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  111. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  112. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/index.html +24 -0
  113. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/photo-manager.html +184 -0
  114. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/propagation.html +80 -0
  115. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/revert.html +61 -0
  116. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/shopping-cart.html +101 -0
  117. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/visual-feedback.html +78 -0
  118. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/default.html +109 -0
  119. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/easing.html +107 -0
  120. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/index.html +19 -0
  121. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/default.html +102 -0
  122. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/index.html +18 -0
  123. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/calendar.gif +0 -0
  124. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  125. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on.gif +0 -0
  126. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  127. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  128. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/icon-docs-info.gif +0 -0
  129. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/pbar-ani.gif +0 -0
  130. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/index.html +314 -0
  131. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/cycler.html +122 -0
  132. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/default.html +153 -0
  133. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/earth.jpg +0 -0
  134. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/flight.jpg +0 -0
  135. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/rocket.jpg +0 -0
  136. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/index.html +19 -0
  137. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/animated.html +44 -0
  138. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/default.html +35 -0
  139. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
  140. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/index.html +20 -0
  141. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/resize.html +40 -0
  142. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/default.html +52 -0
  143. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/index.html +18 -0
  144. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/animate.html +41 -0
  145. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/aspect-ratio.html +40 -0
  146. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/constrain-area.html +45 -0
  147. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/default.html +38 -0
  148. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/delay-start.html +52 -0
  149. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/helper.html +41 -0
  150. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/index.html +28 -0
  151. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/max-min.html +43 -0
  152. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/snap-to-grid.html +40 -0
  153. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/synchronous-resize.html +47 -0
  154. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/textarea.html +39 -0
  155. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/visual-feedback.html +41 -0
  156. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/default.html +48 -0
  157. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/display-grid.html +53 -0
  158. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/index.html +20 -0
  159. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/serialize.html +59 -0
  160. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/default.html +103 -0
  161. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/index.html +18 -0
  162. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/colorpicker.html +95 -0
  163. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/default.html +37 -0
  164. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/hotelrooms.html +59 -0
  165. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/index.html +29 -0
  166. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/multiple-vertical.html +77 -0
  167. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range-vertical.html +50 -0
  168. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range.html +51 -0
  169. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemax.html +50 -0
  170. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemin.html +51 -0
  171. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/side-scroll.html +138 -0
  172. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/slider-vertical.html +52 -0
  173. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/steps.html +51 -0
  174. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/tabs.html +67 -0
  175. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html +79 -0
  176. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists.html +58 -0
  177. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/default.html +51 -0
  178. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/delay-start.html +67 -0
  179. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/display-grid.html +54 -0
  180. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/empty-lists.html +69 -0
  181. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/index.html +26 -0
  182. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/items.html +71 -0
  183. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/placeholder.html +56 -0
  184. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/portlets.html +96 -0
  185. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/default.html +48 -0
  186. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/index.html +18 -0
  187. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content1.html +4 -0
  188. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content2.html +4 -0
  189. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
  190. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
  191. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax.html +51 -0
  192. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/bottom.html +60 -0
  193. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/collapsible.html +56 -0
  194. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/cookie.html +57 -0
  195. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/default.html +49 -0
  196. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/index.html +25 -0
  197. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/manipulation.html +121 -0
  198. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/mouseover.html +54 -0
  199. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/sortable.html +65 -0
  200. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/vertical.html +64 -0
  201. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/default.html +92 -0
  202. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/index.html +18 -0
  203. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/default.html +46 -0
  204. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/index.html +18 -0
  205. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/accordion.html +977 -0
  206. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/addClass.html +109 -0
  207. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/animate.html +78 -0
  208. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/autocomplete.html +710 -0
  209. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/button.html +461 -0
  210. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/datepicker.html +2531 -0
  211. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/dialog.html +1603 -0
  212. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/draggable.html +1536 -0
  213. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/droppable.html +788 -0
  214. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/effect.html +143 -0
  215. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/hide.html +144 -0
  216. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/position.html +226 -0
  217. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/progressbar.html +381 -0
  218. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/removeClass.html +113 -0
  219. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/resizable.html +1160 -0
  220. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/selectable.html +807 -0
  221. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/show.html +144 -0
  222. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/slider.html +821 -0
  223. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/sortable.html +1910 -0
  224. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/switchClass.html +129 -0
  225. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/tabs.html +1513 -0
  226. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggle.html +144 -0
  227. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggleClass.html +111 -0
  228. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.bgiframe-2.1.1.js +10 -0
  229. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.cookie.js +89 -0
  230. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.metadata.js +122 -0
  231. data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.css +153 -0
  232. data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.js +1261 -0
  233. data/static/jquery-ui-1.8.5.custom/development-bundle/jquery-1.4.2.js +6240 -0
  234. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  235. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  236. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  237. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  238. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  239. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  240. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  241. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  242. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  243. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  244. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  245. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  246. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  247. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
  248. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.all.css +11 -0
  249. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
  250. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.base.css +11 -0
  251. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.button.css +38 -0
  252. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.core.css +41 -0
  253. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
  254. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
  255. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
  256. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
  257. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
  258. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.slider.css +24 -0
  259. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
  260. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.theme.css +252 -0
  261. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  262. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  263. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  264. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  265. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  266. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  267. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  268. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  269. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  270. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  271. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  272. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  273. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  274. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery-ui-1.8.5.custom.css +572 -0
  275. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.accordion.css +19 -0
  276. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.all.css +11 -0
  277. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.autocomplete.css +53 -0
  278. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.base.css +11 -0
  279. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.button.css +38 -0
  280. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.core.css +41 -0
  281. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.datepicker.css +68 -0
  282. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.dialog.css +21 -0
  283. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.progressbar.css +11 -0
  284. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.resizable.css +20 -0
  285. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.selectable.css +10 -0
  286. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.slider.css +24 -0
  287. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.tabs.css +18 -0
  288. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.theme.css +254 -0
  289. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery-ui-i18n.js +1199 -0
  290. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  291. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +24 -0
  292. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  293. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  294. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  295. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  296. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  297. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  298. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  299. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  300. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  301. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  302. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  303. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  304. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  305. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  306. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  307. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  308. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  309. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +23 -0
  310. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  311. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  312. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  313. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  314. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  315. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  316. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  317. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  318. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  319. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  320. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  321. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  322. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  323. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  324. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  325. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  326. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  327. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  328. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  329. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  330. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  331. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  332. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  333. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  334. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  335. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  336. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  337. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  338. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  339. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  340. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  341. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  342. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  343. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery-ui-1.8.5.custom.js +11358 -0
  344. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.blind.js +49 -0
  345. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.bounce.js +78 -0
  346. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.clip.js +54 -0
  347. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.core.js +714 -0
  348. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.drop.js +50 -0
  349. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.explode.js +79 -0
  350. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fade.js +32 -0
  351. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fold.js +56 -0
  352. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.highlight.js +50 -0
  353. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.pulsate.js +51 -0
  354. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.scale.js +178 -0
  355. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.shake.js +57 -0
  356. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.slide.js +50 -0
  357. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.transfer.js +45 -0
  358. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.accordion.js +598 -0
  359. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.autocomplete.js +555 -0
  360. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.button.js +372 -0
  361. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.core.js +307 -0
  362. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.datepicker.js +1732 -0
  363. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.dialog.js +837 -0
  364. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.draggable.js +797 -0
  365. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.droppable.js +285 -0
  366. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.mouse.js +151 -0
  367. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.position.js +251 -0
  368. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.progressbar.js +94 -0
  369. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.resizable.js +812 -0
  370. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.selectable.js +266 -0
  371. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.slider.js +680 -0
  372. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.sortable.js +1071 -0
  373. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.tabs.js +758 -0
  374. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.widget.js +249 -0
  375. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
  376. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
  377. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
  378. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
  379. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
  380. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
  381. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
  382. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
  383. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
  384. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
  385. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
  386. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
  387. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
  388. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
  389. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
  390. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +31 -0
  391. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.button.min.js +25 -0
  392. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
  393. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.datepicker.min.js +80 -0
  394. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js +39 -0
  395. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js +49 -0
  396. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js +26 -0
  397. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
  398. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
  399. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
  400. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.resizable.min.js +47 -0
  401. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
  402. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
  403. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
  404. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
  405. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
  406. data/static/jquery-ui-1.8.5.custom/development-bundle/version.txt +1 -0
  407. data/static/jquery-ui-1.8.5.custom/index.html +395 -0
  408. data/static/jquery-ui-1.8.5.custom/js/jquery-1.4.2.min.js +154 -0
  409. data/static/jquery-ui-1.8.5.custom/js/jquery-ui-1.8.5.custom.min.js +778 -0
  410. metadata +421 -4
@@ -0,0 +1,837 @@
1
+ /*
2
+ * jQuery UI Dialog 1.8.5
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Dialog
9
+ *
10
+ * Depends:
11
+ * jquery.ui.core.js
12
+ * jquery.ui.widget.js
13
+ * jquery.ui.button.js
14
+ * jquery.ui.draggable.js
15
+ * jquery.ui.mouse.js
16
+ * jquery.ui.position.js
17
+ * jquery.ui.resizable.js
18
+ */
19
+ (function( $, undefined ) {
20
+
21
+ var uiDialogClasses =
22
+ 'ui-dialog ' +
23
+ 'ui-widget ' +
24
+ 'ui-widget-content ' +
25
+ 'ui-corner-all ';
26
+
27
+ $.widget("ui.dialog", {
28
+ options: {
29
+ autoOpen: true,
30
+ buttons: {},
31
+ closeOnEscape: true,
32
+ closeText: 'close',
33
+ dialogClass: '',
34
+ draggable: true,
35
+ hide: null,
36
+ height: 'auto',
37
+ maxHeight: false,
38
+ maxWidth: false,
39
+ minHeight: 150,
40
+ minWidth: 150,
41
+ modal: false,
42
+ position: {
43
+ my: 'center',
44
+ at: 'center',
45
+ of: window,
46
+ collision: 'fit',
47
+ // ensure that the titlebar is never outside the document
48
+ using: function(pos) {
49
+ var topOffset = $(this).css(pos).offset().top;
50
+ if (topOffset < 0) {
51
+ $(this).css('top', pos.top - topOffset);
52
+ }
53
+ }
54
+ },
55
+ resizable: true,
56
+ show: null,
57
+ stack: true,
58
+ title: '',
59
+ width: 300,
60
+ zIndex: 1000
61
+ },
62
+
63
+ _create: function() {
64
+ this.originalTitle = this.element.attr('title');
65
+ // #5742 - .attr() might return a DOMElement
66
+ if ( typeof this.originalTitle !== "string" ) {
67
+ this.originalTitle = "";
68
+ }
69
+
70
+ this.options.title = this.options.title || this.originalTitle;
71
+ var self = this,
72
+ options = self.options,
73
+
74
+ title = options.title || '&#160;',
75
+ titleId = $.ui.dialog.getTitleId(self.element),
76
+
77
+ uiDialog = (self.uiDialog = $('<div></div>'))
78
+ .appendTo(document.body)
79
+ .hide()
80
+ .addClass(uiDialogClasses + options.dialogClass)
81
+ .css({
82
+ zIndex: options.zIndex
83
+ })
84
+ // setting tabIndex makes the div focusable
85
+ // setting outline to 0 prevents a border on focus in Mozilla
86
+ .attr('tabIndex', -1).css('outline', 0).keydown(function(event) {
87
+ if (options.closeOnEscape && event.keyCode &&
88
+ event.keyCode === $.ui.keyCode.ESCAPE) {
89
+
90
+ self.close(event);
91
+ event.preventDefault();
92
+ }
93
+ })
94
+ .attr({
95
+ role: 'dialog',
96
+ 'aria-labelledby': titleId
97
+ })
98
+ .mousedown(function(event) {
99
+ self.moveToTop(false, event);
100
+ }),
101
+
102
+ uiDialogContent = self.element
103
+ .show()
104
+ .removeAttr('title')
105
+ .addClass(
106
+ 'ui-dialog-content ' +
107
+ 'ui-widget-content')
108
+ .appendTo(uiDialog),
109
+
110
+ uiDialogTitlebar = (self.uiDialogTitlebar = $('<div></div>'))
111
+ .addClass(
112
+ 'ui-dialog-titlebar ' +
113
+ 'ui-widget-header ' +
114
+ 'ui-corner-all ' +
115
+ 'ui-helper-clearfix'
116
+ )
117
+ .prependTo(uiDialog),
118
+
119
+ uiDialogTitlebarClose = $('<a href="#"></a>')
120
+ .addClass(
121
+ 'ui-dialog-titlebar-close ' +
122
+ 'ui-corner-all'
123
+ )
124
+ .attr('role', 'button')
125
+ .hover(
126
+ function() {
127
+ uiDialogTitlebarClose.addClass('ui-state-hover');
128
+ },
129
+ function() {
130
+ uiDialogTitlebarClose.removeClass('ui-state-hover');
131
+ }
132
+ )
133
+ .focus(function() {
134
+ uiDialogTitlebarClose.addClass('ui-state-focus');
135
+ })
136
+ .blur(function() {
137
+ uiDialogTitlebarClose.removeClass('ui-state-focus');
138
+ })
139
+ .click(function(event) {
140
+ self.close(event);
141
+ return false;
142
+ })
143
+ .appendTo(uiDialogTitlebar),
144
+
145
+ uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('<span></span>'))
146
+ .addClass(
147
+ 'ui-icon ' +
148
+ 'ui-icon-closethick'
149
+ )
150
+ .text(options.closeText)
151
+ .appendTo(uiDialogTitlebarClose),
152
+
153
+ uiDialogTitle = $('<span></span>')
154
+ .addClass('ui-dialog-title')
155
+ .attr('id', titleId)
156
+ .html(title)
157
+ .prependTo(uiDialogTitlebar);
158
+
159
+ //handling of deprecated beforeclose (vs beforeClose) option
160
+ //Ticket #4669 http://dev.jqueryui.com/ticket/4669
161
+ //TODO: remove in 1.9pre
162
+ if ($.isFunction(options.beforeclose) && !$.isFunction(options.beforeClose)) {
163
+ options.beforeClose = options.beforeclose;
164
+ }
165
+
166
+ uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection();
167
+
168
+ if (options.draggable && $.fn.draggable) {
169
+ self._makeDraggable();
170
+ }
171
+ if (options.resizable && $.fn.resizable) {
172
+ self._makeResizable();
173
+ }
174
+
175
+ self._createButtons(options.buttons);
176
+ self._isOpen = false;
177
+
178
+ if ($.fn.bgiframe) {
179
+ uiDialog.bgiframe();
180
+ }
181
+ },
182
+
183
+ _init: function() {
184
+ if ( this.options.autoOpen ) {
185
+ this.open();
186
+ }
187
+ },
188
+
189
+ destroy: function() {
190
+ var self = this;
191
+
192
+ if (self.overlay) {
193
+ self.overlay.destroy();
194
+ }
195
+ self.uiDialog.hide();
196
+ self.element
197
+ .unbind('.dialog')
198
+ .removeData('dialog')
199
+ .removeClass('ui-dialog-content ui-widget-content')
200
+ .hide().appendTo('body');
201
+ self.uiDialog.remove();
202
+
203
+ if (self.originalTitle) {
204
+ self.element.attr('title', self.originalTitle);
205
+ }
206
+
207
+ return self;
208
+ },
209
+
210
+ widget: function() {
211
+ return this.uiDialog;
212
+ },
213
+
214
+ close: function(event) {
215
+ var self = this,
216
+ maxZ;
217
+
218
+ if (false === self._trigger('beforeClose', event)) {
219
+ return;
220
+ }
221
+
222
+ if (self.overlay) {
223
+ self.overlay.destroy();
224
+ }
225
+ self.uiDialog.unbind('keypress.ui-dialog');
226
+
227
+ self._isOpen = false;
228
+
229
+ if (self.options.hide) {
230
+ self.uiDialog.hide(self.options.hide, function() {
231
+ self._trigger('close', event);
232
+ });
233
+ } else {
234
+ self.uiDialog.hide();
235
+ self._trigger('close', event);
236
+ }
237
+
238
+ $.ui.dialog.overlay.resize();
239
+
240
+ // adjust the maxZ to allow other modal dialogs to continue to work (see #4309)
241
+ if (self.options.modal) {
242
+ maxZ = 0;
243
+ $('.ui-dialog').each(function() {
244
+ if (this !== self.uiDialog[0]) {
245
+ maxZ = Math.max(maxZ, $(this).css('z-index'));
246
+ }
247
+ });
248
+ $.ui.dialog.maxZ = maxZ;
249
+ }
250
+
251
+ return self;
252
+ },
253
+
254
+ isOpen: function() {
255
+ return this._isOpen;
256
+ },
257
+
258
+ // the force parameter allows us to move modal dialogs to their correct
259
+ // position on open
260
+ moveToTop: function(force, event) {
261
+ var self = this,
262
+ options = self.options,
263
+ saveScroll;
264
+
265
+ if ((options.modal && !force) ||
266
+ (!options.stack && !options.modal)) {
267
+ return self._trigger('focus', event);
268
+ }
269
+
270
+ if (options.zIndex > $.ui.dialog.maxZ) {
271
+ $.ui.dialog.maxZ = options.zIndex;
272
+ }
273
+ if (self.overlay) {
274
+ $.ui.dialog.maxZ += 1;
275
+ self.overlay.$el.css('z-index', $.ui.dialog.overlay.maxZ = $.ui.dialog.maxZ);
276
+ }
277
+
278
+ //Save and then restore scroll since Opera 9.5+ resets when parent z-Index is changed.
279
+ // http://ui.jquery.com/bugs/ticket/3193
280
+ saveScroll = { scrollTop: self.element.attr('scrollTop'), scrollLeft: self.element.attr('scrollLeft') };
281
+ $.ui.dialog.maxZ += 1;
282
+ self.uiDialog.css('z-index', $.ui.dialog.maxZ);
283
+ self.element.attr(saveScroll);
284
+ self._trigger('focus', event);
285
+
286
+ return self;
287
+ },
288
+
289
+ open: function() {
290
+ if (this._isOpen) { return; }
291
+
292
+ var self = this,
293
+ options = self.options,
294
+ uiDialog = self.uiDialog;
295
+
296
+ self.overlay = options.modal ? new $.ui.dialog.overlay(self) : null;
297
+ if (uiDialog.next().length) {
298
+ uiDialog.appendTo('body');
299
+ }
300
+ self._size();
301
+ self._position(options.position);
302
+ uiDialog.show(options.show);
303
+ self.moveToTop(true);
304
+
305
+ // prevent tabbing out of modal dialogs
306
+ if (options.modal) {
307
+ uiDialog.bind('keypress.ui-dialog', function(event) {
308
+ if (event.keyCode !== $.ui.keyCode.TAB) {
309
+ return;
310
+ }
311
+
312
+ var tabbables = $(':tabbable', this),
313
+ first = tabbables.filter(':first'),
314
+ last = tabbables.filter(':last');
315
+
316
+ if (event.target === last[0] && !event.shiftKey) {
317
+ first.focus(1);
318
+ return false;
319
+ } else if (event.target === first[0] && event.shiftKey) {
320
+ last.focus(1);
321
+ return false;
322
+ }
323
+ });
324
+ }
325
+
326
+ // set focus to the first tabbable element in the content area or the first button
327
+ // if there are no tabbable elements, set focus on the dialog itself
328
+ $(self.element.find(':tabbable').get().concat(
329
+ uiDialog.find('.ui-dialog-buttonpane :tabbable').get().concat(
330
+ uiDialog.get()))).eq(0).focus();
331
+
332
+ self._isOpen = true;
333
+ self._trigger('open');
334
+
335
+ return self;
336
+ },
337
+
338
+ _createButtons: function(buttons) {
339
+ var self = this,
340
+ hasButtons = false,
341
+ uiDialogButtonPane = $('<div></div>')
342
+ .addClass(
343
+ 'ui-dialog-buttonpane ' +
344
+ 'ui-widget-content ' +
345
+ 'ui-helper-clearfix'
346
+ ),
347
+ uiButtonSet = $( "<div></div>" )
348
+ .addClass( "ui-dialog-buttonset" )
349
+ .appendTo( uiDialogButtonPane );
350
+
351
+ // if we already have a button pane, remove it
352
+ self.uiDialog.find('.ui-dialog-buttonpane').remove();
353
+
354
+ if (typeof buttons === 'object' && buttons !== null) {
355
+ $.each(buttons, function() {
356
+ return !(hasButtons = true);
357
+ });
358
+ }
359
+ if (hasButtons) {
360
+ $.each(buttons, function(name, props) {
361
+ props = $.isFunction( props ) ?
362
+ { click: props, text: name } :
363
+ props;
364
+ var button = $('<button></button>', props)
365
+ .unbind('click')
366
+ .click(function() {
367
+ props.click.apply(self.element[0], arguments);
368
+ })
369
+ .appendTo(uiButtonSet);
370
+ if ($.fn.button) {
371
+ button.button();
372
+ }
373
+ });
374
+ uiDialogButtonPane.appendTo(self.uiDialog);
375
+ }
376
+ },
377
+
378
+ _makeDraggable: function() {
379
+ var self = this,
380
+ options = self.options,
381
+ doc = $(document),
382
+ heightBeforeDrag;
383
+
384
+ function filteredUi(ui) {
385
+ return {
386
+ position: ui.position,
387
+ offset: ui.offset
388
+ };
389
+ }
390
+
391
+ self.uiDialog.draggable({
392
+ cancel: '.ui-dialog-content, .ui-dialog-titlebar-close',
393
+ handle: '.ui-dialog-titlebar',
394
+ containment: 'document',
395
+ start: function(event, ui) {
396
+ heightBeforeDrag = options.height === "auto" ? "auto" : $(this).height();
397
+ $(this).height($(this).height()).addClass("ui-dialog-dragging");
398
+ self._trigger('dragStart', event, filteredUi(ui));
399
+ },
400
+ drag: function(event, ui) {
401
+ self._trigger('drag', event, filteredUi(ui));
402
+ },
403
+ stop: function(event, ui) {
404
+ options.position = [ui.position.left - doc.scrollLeft(),
405
+ ui.position.top - doc.scrollTop()];
406
+ $(this).removeClass("ui-dialog-dragging").height(heightBeforeDrag);
407
+ self._trigger('dragStop', event, filteredUi(ui));
408
+ $.ui.dialog.overlay.resize();
409
+ }
410
+ });
411
+ },
412
+
413
+ _makeResizable: function(handles) {
414
+ handles = (handles === undefined ? this.options.resizable : handles);
415
+ var self = this,
416
+ options = self.options,
417
+ // .ui-resizable has position: relative defined in the stylesheet
418
+ // but dialogs have to use absolute or fixed positioning
419
+ position = self.uiDialog.css('position'),
420
+ resizeHandles = (typeof handles === 'string' ?
421
+ handles :
422
+ 'n,e,s,w,se,sw,ne,nw'
423
+ );
424
+
425
+ function filteredUi(ui) {
426
+ return {
427
+ originalPosition: ui.originalPosition,
428
+ originalSize: ui.originalSize,
429
+ position: ui.position,
430
+ size: ui.size
431
+ };
432
+ }
433
+
434
+ self.uiDialog.resizable({
435
+ cancel: '.ui-dialog-content',
436
+ containment: 'document',
437
+ alsoResize: self.element,
438
+ maxWidth: options.maxWidth,
439
+ maxHeight: options.maxHeight,
440
+ minWidth: options.minWidth,
441
+ minHeight: self._minHeight(),
442
+ handles: resizeHandles,
443
+ start: function(event, ui) {
444
+ $(this).addClass("ui-dialog-resizing");
445
+ self._trigger('resizeStart', event, filteredUi(ui));
446
+ },
447
+ resize: function(event, ui) {
448
+ self._trigger('resize', event, filteredUi(ui));
449
+ },
450
+ stop: function(event, ui) {
451
+ $(this).removeClass("ui-dialog-resizing");
452
+ options.height = $(this).height();
453
+ options.width = $(this).width();
454
+ self._trigger('resizeStop', event, filteredUi(ui));
455
+ $.ui.dialog.overlay.resize();
456
+ }
457
+ })
458
+ .css('position', position)
459
+ .find('.ui-resizable-se').addClass('ui-icon ui-icon-grip-diagonal-se');
460
+ },
461
+
462
+ _minHeight: function() {
463
+ var options = this.options;
464
+
465
+ if (options.height === 'auto') {
466
+ return options.minHeight;
467
+ } else {
468
+ return Math.min(options.minHeight, options.height);
469
+ }
470
+ },
471
+
472
+ _position: function(position) {
473
+ var myAt = [],
474
+ offset = [0, 0],
475
+ isVisible;
476
+
477
+ if (position) {
478
+ // deep extending converts arrays to objects in jQuery <= 1.3.2 :-(
479
+ // if (typeof position == 'string' || $.isArray(position)) {
480
+ // myAt = $.isArray(position) ? position : position.split(' ');
481
+
482
+ if (typeof position === 'string' || (typeof position === 'object' && '0' in position)) {
483
+ myAt = position.split ? position.split(' ') : [position[0], position[1]];
484
+ if (myAt.length === 1) {
485
+ myAt[1] = myAt[0];
486
+ }
487
+
488
+ $.each(['left', 'top'], function(i, offsetPosition) {
489
+ if (+myAt[i] === myAt[i]) {
490
+ offset[i] = myAt[i];
491
+ myAt[i] = offsetPosition;
492
+ }
493
+ });
494
+
495
+ position = {
496
+ my: myAt.join(" "),
497
+ at: myAt.join(" "),
498
+ offset: offset.join(" ")
499
+ };
500
+ }
501
+
502
+ position = $.extend({}, $.ui.dialog.prototype.options.position, position);
503
+ } else {
504
+ position = $.ui.dialog.prototype.options.position;
505
+ }
506
+
507
+ // need to show the dialog to get the actual offset in the position plugin
508
+ isVisible = this.uiDialog.is(':visible');
509
+ if (!isVisible) {
510
+ this.uiDialog.show();
511
+ }
512
+ this.uiDialog
513
+ // workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
514
+ .css({ top: 0, left: 0 })
515
+ .position(position);
516
+ if (!isVisible) {
517
+ this.uiDialog.hide();
518
+ }
519
+ },
520
+
521
+ _setOption: function(key, value){
522
+ var self = this,
523
+ uiDialog = self.uiDialog,
524
+ isResizable = uiDialog.is(':data(resizable)'),
525
+ resize = false;
526
+
527
+ switch (key) {
528
+ //handling of deprecated beforeclose (vs beforeClose) option
529
+ //Ticket #4669 http://dev.jqueryui.com/ticket/4669
530
+ //TODO: remove in 1.9pre
531
+ case "beforeclose":
532
+ key = "beforeClose";
533
+ break;
534
+ case "buttons":
535
+ self._createButtons(value);
536
+ resize = true;
537
+ break;
538
+ case "closeText":
539
+ // convert whatever was passed in to a string, for text() to not throw up
540
+ self.uiDialogTitlebarCloseText.text("" + value);
541
+ break;
542
+ case "dialogClass":
543
+ uiDialog
544
+ .removeClass(self.options.dialogClass)
545
+ .addClass(uiDialogClasses + value);
546
+ break;
547
+ case "disabled":
548
+ if (value) {
549
+ uiDialog.addClass('ui-dialog-disabled');
550
+ } else {
551
+ uiDialog.removeClass('ui-dialog-disabled');
552
+ }
553
+ break;
554
+ case "draggable":
555
+ if (value) {
556
+ self._makeDraggable();
557
+ } else {
558
+ uiDialog.draggable('destroy');
559
+ }
560
+ break;
561
+ case "height":
562
+ resize = true;
563
+ break;
564
+ case "maxHeight":
565
+ if (isResizable) {
566
+ uiDialog.resizable('option', 'maxHeight', value);
567
+ }
568
+ resize = true;
569
+ break;
570
+ case "maxWidth":
571
+ if (isResizable) {
572
+ uiDialog.resizable('option', 'maxWidth', value);
573
+ }
574
+ resize = true;
575
+ break;
576
+ case "minHeight":
577
+ if (isResizable) {
578
+ uiDialog.resizable('option', 'minHeight', value);
579
+ }
580
+ resize = true;
581
+ break;
582
+ case "minWidth":
583
+ if (isResizable) {
584
+ uiDialog.resizable('option', 'minWidth', value);
585
+ }
586
+ resize = true;
587
+ break;
588
+ case "position":
589
+ self._position(value);
590
+ break;
591
+ case "resizable":
592
+ // currently resizable, becoming non-resizable
593
+ if (isResizable && !value) {
594
+ uiDialog.resizable('destroy');
595
+ }
596
+
597
+ // currently resizable, changing handles
598
+ if (isResizable && typeof value === 'string') {
599
+ uiDialog.resizable('option', 'handles', value);
600
+ }
601
+
602
+ // currently non-resizable, becoming resizable
603
+ if (!isResizable && value !== false) {
604
+ self._makeResizable(value);
605
+ }
606
+ break;
607
+ case "title":
608
+ // convert whatever was passed in o a string, for html() to not throw up
609
+ $(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || '&#160;'));
610
+ break;
611
+ case "width":
612
+ resize = true;
613
+ break;
614
+ }
615
+
616
+ $.Widget.prototype._setOption.apply(self, arguments);
617
+ if (resize) {
618
+ self._size();
619
+ }
620
+ },
621
+
622
+ _size: function() {
623
+ /* If the user has resized the dialog, the .ui-dialog and .ui-dialog-content
624
+ * divs will both have width and height set, so we need to reset them
625
+ */
626
+ var options = this.options,
627
+ nonContentHeight;
628
+
629
+ // reset content sizing
630
+ // hide for non content measurement because height: 0 doesn't work in IE quirks mode (see #4350)
631
+ this.element.css({
632
+ width: 'auto',
633
+ minHeight: 0,
634
+ height: 0
635
+ });
636
+
637
+ if (options.minWidth > options.width) {
638
+ options.width = options.minWidth;
639
+ }
640
+
641
+ // reset wrapper sizing
642
+ // determine the height of all the non-content elements
643
+ nonContentHeight = this.uiDialog.css({
644
+ height: 'auto',
645
+ width: options.width
646
+ })
647
+ .height();
648
+
649
+ this.element
650
+ .css(options.height === 'auto' ? {
651
+ minHeight: Math.max(options.minHeight - nonContentHeight, 0),
652
+ height: $.support.minHeight ? 'auto' :
653
+ Math.max(options.minHeight - nonContentHeight, 0)
654
+ } : {
655
+ minHeight: 0,
656
+ height: Math.max(options.height - nonContentHeight, 0)
657
+ })
658
+ .show();
659
+
660
+ if (this.uiDialog.is(':data(resizable)')) {
661
+ this.uiDialog.resizable('option', 'minHeight', this._minHeight());
662
+ }
663
+ }
664
+ });
665
+
666
+ $.extend($.ui.dialog, {
667
+ version: "1.8.5",
668
+
669
+ uuid: 0,
670
+ maxZ: 0,
671
+
672
+ getTitleId: function($el) {
673
+ var id = $el.attr('id');
674
+ if (!id) {
675
+ this.uuid += 1;
676
+ id = this.uuid;
677
+ }
678
+ return 'ui-dialog-title-' + id;
679
+ },
680
+
681
+ overlay: function(dialog) {
682
+ this.$el = $.ui.dialog.overlay.create(dialog);
683
+ }
684
+ });
685
+
686
+ $.extend($.ui.dialog.overlay, {
687
+ instances: [],
688
+ // reuse old instances due to IE memory leak with alpha transparency (see #5185)
689
+ oldInstances: [],
690
+ maxZ: 0,
691
+ events: $.map('focus,mousedown,mouseup,keydown,keypress,click'.split(','),
692
+ function(event) { return event + '.dialog-overlay'; }).join(' '),
693
+ create: function(dialog) {
694
+ if (this.instances.length === 0) {
695
+ // prevent use of anchors and inputs
696
+ // we use a setTimeout in case the overlay is created from an
697
+ // event that we're going to be cancelling (see #2804)
698
+ setTimeout(function() {
699
+ // handle $(el).dialog().dialog('close') (see #4065)
700
+ if ($.ui.dialog.overlay.instances.length) {
701
+ $(document).bind($.ui.dialog.overlay.events, function(event) {
702
+ // stop events if the z-index of the target is < the z-index of the overlay
703
+ // we cannot return true when we don't want to cancel the event (#3523)
704
+ if ($(event.target).zIndex() < $.ui.dialog.overlay.maxZ) {
705
+ return false;
706
+ }
707
+ });
708
+ }
709
+ }, 1);
710
+
711
+ // allow closing by pressing the escape key
712
+ $(document).bind('keydown.dialog-overlay', function(event) {
713
+ if (dialog.options.closeOnEscape && event.keyCode &&
714
+ event.keyCode === $.ui.keyCode.ESCAPE) {
715
+
716
+ dialog.close(event);
717
+ event.preventDefault();
718
+ }
719
+ });
720
+
721
+ // handle window resize
722
+ $(window).bind('resize.dialog-overlay', $.ui.dialog.overlay.resize);
723
+ }
724
+
725
+ var $el = (this.oldInstances.pop() || $('<div></div>').addClass('ui-widget-overlay'))
726
+ .appendTo(document.body)
727
+ .css({
728
+ width: this.width(),
729
+ height: this.height()
730
+ });
731
+
732
+ if ($.fn.bgiframe) {
733
+ $el.bgiframe();
734
+ }
735
+
736
+ this.instances.push($el);
737
+ return $el;
738
+ },
739
+
740
+ destroy: function($el) {
741
+ this.oldInstances.push(this.instances.splice($.inArray($el, this.instances), 1)[0]);
742
+
743
+ if (this.instances.length === 0) {
744
+ $([document, window]).unbind('.dialog-overlay');
745
+ }
746
+
747
+ $el.remove();
748
+
749
+ // adjust the maxZ to allow other modal dialogs to continue to work (see #4309)
750
+ var maxZ = 0;
751
+ $.each(this.instances, function() {
752
+ maxZ = Math.max(maxZ, this.css('z-index'));
753
+ });
754
+ this.maxZ = maxZ;
755
+ },
756
+
757
+ height: function() {
758
+ var scrollHeight,
759
+ offsetHeight;
760
+ // handle IE 6
761
+ if ($.browser.msie && $.browser.version < 7) {
762
+ scrollHeight = Math.max(
763
+ document.documentElement.scrollHeight,
764
+ document.body.scrollHeight
765
+ );
766
+ offsetHeight = Math.max(
767
+ document.documentElement.offsetHeight,
768
+ document.body.offsetHeight
769
+ );
770
+
771
+ if (scrollHeight < offsetHeight) {
772
+ return $(window).height() + 'px';
773
+ } else {
774
+ return scrollHeight + 'px';
775
+ }
776
+ // handle "good" browsers
777
+ } else {
778
+ return $(document).height() + 'px';
779
+ }
780
+ },
781
+
782
+ width: function() {
783
+ var scrollWidth,
784
+ offsetWidth;
785
+ // handle IE 6
786
+ if ($.browser.msie && $.browser.version < 7) {
787
+ scrollWidth = Math.max(
788
+ document.documentElement.scrollWidth,
789
+ document.body.scrollWidth
790
+ );
791
+ offsetWidth = Math.max(
792
+ document.documentElement.offsetWidth,
793
+ document.body.offsetWidth
794
+ );
795
+
796
+ if (scrollWidth < offsetWidth) {
797
+ return $(window).width() + 'px';
798
+ } else {
799
+ return scrollWidth + 'px';
800
+ }
801
+ // handle "good" browsers
802
+ } else {
803
+ return $(document).width() + 'px';
804
+ }
805
+ },
806
+
807
+ resize: function() {
808
+ /* If the dialog is draggable and the user drags it past the
809
+ * right edge of the window, the document becomes wider so we
810
+ * need to stretch the overlay. If the user then drags the
811
+ * dialog back to the left, the document will become narrower,
812
+ * so we need to shrink the overlay to the appropriate size.
813
+ * This is handled by shrinking the overlay before setting it
814
+ * to the full document size.
815
+ */
816
+ var $overlays = $([]);
817
+ $.each($.ui.dialog.overlay.instances, function() {
818
+ $overlays = $overlays.add(this);
819
+ });
820
+
821
+ $overlays.css({
822
+ width: 0,
823
+ height: 0
824
+ }).css({
825
+ width: $.ui.dialog.overlay.width(),
826
+ height: $.ui.dialog.overlay.height()
827
+ });
828
+ }
829
+ });
830
+
831
+ $.extend($.ui.dialog.overlay.prototype, {
832
+ destroy: function() {
833
+ $.ui.dialog.overlay.destroy(this.$el);
834
+ }
835
+ });
836
+
837
+ }(jQuery));