spree_essential_press 0.1.0.pre3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -3
- data/.travis.yml +8 -0
- data/Gemfile +0 -2
- data/LICENSE +21 -17
- data/README.md +26 -16
- data/Rakefile +3 -33
- data/Versionfile +4 -2
- data/app/controllers/admin/press_controller.rb +2 -2
- data/app/controllers/press_controller.rb +1 -1
- data/app/overrides/spree_essential_press.rb +5 -0
- data/app/views/admin/press/_form.html.erb +6 -17
- data/app/views/admin/press/edit.html.erb +2 -2
- data/app/views/admin/press/index.html.erb +6 -23
- data/config/locales/en.yml +19 -17
- data/lib/generators/essentials_base.rb +12 -3
- data/lib/generators/spree_essentials/press_generator.rb +1 -1
- data/lib/spree_essential_press.rb +17 -8
- data/lib/spree_essential_press/version.rb +1 -1
- data/spree_essential_press.gemspec +5 -15
- data/test/dummy_hooks/after_migrate.rb.sample +1 -0
- data/test/dummy_hooks/before_migrate.rb +13 -0
- data/test/dummy_hooks/templates/admin/all.css +3 -0
- data/test/dummy_hooks/templates/admin/all.js +1 -0
- data/test/dummy_hooks/templates/store/all.css +3 -0
- data/test/dummy_hooks/templates/store/all.js +1 -0
- data/test/support/factories.rb +2 -2
- data/test/support/images/1.png +0 -0
- data/test/test_helper.rb +9 -52
- data/test/unit/press_image_test.rb +2 -2
- data/test/unit/press_test.rb +1 -1
- metadata +77 -1063
- data/app/controllers/admin/resource_controller.rb +0 -225
- data/lib/spree_essential_press/custom_hooks.rb +0 -9
- data/public/javascripts/date.js +0 -145
- data/public/javascripts/jquery.autodate.js +0 -112
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -44
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -22
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -26
- data/test/dummy/config/environments/production.rb +0 -49
- data/test/dummy/config/environments/test.rb +0 -35
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -58
- data/test/dummy/db/default/countries.yml +0 -1583
- data/test/dummy/db/default/roles.yml +0 -7
- data/test/dummy/db/default/states.yml +0 -256
- data/test/dummy/db/default/zone_members.yml +0 -169
- data/test/dummy/db/default/zones.yml +0 -13
- data/test/dummy/db/migrate/20090823005402_spree_zero_nine_zero.rb +0 -442
- data/test/dummy/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +0 -12
- data/test/dummy/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +0 -36
- data/test/dummy/db/migrate/20091007134354_change_taxons_to_nested_set.rb +0 -40
- data/test/dummy/db/migrate/20091008091614_move_to_configurable_gateways.rb +0 -55
- data/test/dummy/db/migrate/20091012120519_product_groups_and_scopes.rb +0 -25
- data/test/dummy/db/migrate/20091015110842_add_open_id_authentication_tables.rb +0 -20
- data/test/dummy/db/migrate/20091015153048_add_openid_field_to_users.rb +0 -19
- data/test/dummy/db/migrate/20091016174634_change_preference_value_type.rb +0 -10
- data/test/dummy/db/migrate/20091017175558_create_billing_integrations.rb +0 -16
- data/test/dummy/db/migrate/20091021133257_charge_refactoring.rb +0 -35
- data/test/dummy/db/migrate/20091104151730_add_some_indexes.rb +0 -21
- data/test/dummy/db/migrate/20091126190904_checkout_state_machine.rb +0 -13
- data/test/dummy/db/migrate/20091209153045_state_for_shipments.rb +0 -9
- data/test/dummy/db/migrate/20091209202200_make_state_events_polymorphic.rb +0 -12
- data/test/dummy/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +0 -9
- data/test/dummy/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +0 -9
- data/test/dummy/db/migrate/20091213222815_creditcard_last_four_digits.rb +0 -19
- data/test/dummy/db/migrate/20091214183826_populate_legacy_shipment_state.rb +0 -19
- data/test/dummy/db/migrate/20100105090147_add_cost_price.rb +0 -9
- data/test/dummy/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +0 -21
- data/test/dummy/db/migrate/20100111205525_cim_fields_for_creditcards.rb +0 -11
- data/test/dummy/db/migrate/20100112151511_create_return_authorizations.rb +0 -16
- data/test/dummy/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +0 -9
- data/test/dummy/db/migrate/20100113203104_create_trackers.rb +0 -14
- data/test/dummy/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +0 -9
- data/test/dummy/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +0 -9
- data/test/dummy/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +0 -11
- data/test/dummy/db/migrate/20100126103714_create_products_product_groups.rb +0 -12
- data/test/dummy/db/migrate/20100209025806_create_payment_methods.rb +0 -20
- data/test/dummy/db/migrate/20100209144531_polymorphic_payments.rb +0 -29
- data/test/dummy/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +0 -11
- data/test/dummy/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +0 -16
- data/test/dummy/db/migrate/20100223170312_sti_for_transactions.rb +0 -14
- data/test/dummy/db/migrate/20100223183812_drop_billing_integrations.rb +0 -16
- data/test/dummy/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +0 -13
- data/test/dummy/db/migrate/20100301163454_add_adjustments_index.rb +0 -10
- data/test/dummy/db/migrate/20100306153445_fix_by_popularity.rb +0 -8
- data/test/dummy/db/migrate/20100317120946_add_alt_text_to_images.rb +0 -9
- data/test/dummy/db/migrate/20100427121301_add_display_to_payment_methods.rb +0 -9
- data/test/dummy/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +0 -16
- data/test/dummy/db/migrate/20100506180619_add_icon_to_taxons.rb +0 -18
- data/test/dummy/db/migrate/20100506185838_add_description_to_taxons.rb +0 -11
- data/test/dummy/db/migrate/20100528155333_index_for_shipments_number.rb +0 -9
- data/test/dummy/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +0 -9
- data/test/dummy/db/migrate/20100605152042_add_default_to_tax_categories.rb +0 -9
- data/test/dummy/db/migrate/20100624110730_add_display_to_shipping_methods.rb +0 -9
- data/test/dummy/db/migrate/20100624123336_rename_payment_method_display.rb +0 -9
- data/test/dummy/db/migrate/20100624175547_rename_preferences_field.rb +0 -8
- data/test/dummy/db/migrate/20100811163637_add_guest_flag.rb +0 -13
- data/test/dummy/db/migrate/20100811205836_drop_order_token.rb +0 -11
- data/test/dummy/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +0 -11
- data/test/dummy/db/migrate/20100813023502_create_address_keys_for_order.rb +0 -15
- data/test/dummy/db/migrate/20100813185745_payment_total_for_orders.rb +0 -9
- data/test/dummy/db/migrate/20100816212146_shipping_method_id_for_orders.rb +0 -9
- data/test/dummy/db/migrate/20100817152723_add_shipment_and_payment_state.rb +0 -15
- data/test/dummy/db/migrate/20100819170125_refactor_adjustments.rb +0 -19
- data/test/dummy/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +0 -11
- data/test/dummy/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +0 -13
- data/test/dummy/db/migrate/20100903203949_email_for_orders.rb +0 -9
- data/test/dummy/db/migrate/20100923162011_create_mail_methods.rb +0 -12
- data/test/dummy/db/migrate/20100929151905_rename_frozen_to_locked.rb +0 -8
- data/test/dummy/db/migrate/20101008190536_move_special_instructions_to_orders.rb +0 -11
- data/test/dummy/db/migrate/20101026184700_create_log_entries.rb +0 -15
- data/test/dummy/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +0 -94
- data/test/dummy/db/migrate/20101026184746_delete_in_progress_orders.rb +0 -18
- data/test/dummy/db/migrate/20101026184808_migrate_checkout_to_orders.rb +0 -27
- data/test/dummy/db/migrate/20101026184833_migrate_adjustments.rb +0 -9
- data/test/dummy/db/migrate/20101026184855_remove_shipped_state.rb +0 -14
- data/test/dummy/db/migrate/20101026184916_prevent_nil_payment_total.rb +0 -8
- data/test/dummy/db/migrate/20101026184932_prevent_nil_email.rb +0 -9
- data/test/dummy/db/migrate/20101026184959_generate_anonymous_users.rb +0 -14
- data/test/dummy/db/migrate/20101026185022_update_order_state.rb +0 -8
- data/test/dummy/db/migrate/20101026192225_cleanup_legacy_tables.rb +0 -11
- data/test/dummy/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +0 -9
- data/test/dummy/db/migrate/20101101185116_rename_columns_for_devise.rb +0 -38
- data/test/dummy/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +0 -8
- data/test/dummy/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +0 -10
- data/test/dummy/db/migrate/20101117031806_fix_problematic_index_names.rb +0 -13
- data/test/dummy/db/migrate/20101214150824_convert_user_remember_field.rb +0 -11
- data/test/dummy/db/migrate/20101217012656_create_tokenized_permissions.rb +0 -18
- data/test/dummy/db/migrate/20101219201531_tokens_for_legacy_orders.rb +0 -12
- data/test/dummy/db/migrate/20110421185054_create_press.rb +0 -16
- data/test/dummy/db/sample/users.rb +0 -53
- data/test/dummy/db/schema.rb +0 -548
- data/test/dummy/db/seeds.rb +0 -3
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/assets/posts/1/large/02tii.jpg +0 -0
- data/test/dummy/public/assets/posts/1/mini/02tii.jpg +0 -0
- data/test/dummy/public/assets/posts/1/original/02tii.jpg +0 -0
- data/test/dummy/public/assets/posts/1/preview/02tii.jpg +0 -0
- data/test/dummy/public/assets/posts/1/small/02tii.jpg +0 -0
- data/test/dummy/public/assets/posts/2/large/sailing-avatar.jpg +0 -0
- data/test/dummy/public/assets/posts/2/mini/sailing-avatar.jpg +0 -0
- data/test/dummy/public/assets/posts/2/original/sailing-avatar.jpg +0 -0
- data/test/dummy/public/assets/posts/2/preview/sailing-avatar.jpg +0 -0
- data/test/dummy/public/assets/posts/2/small/sailing-avatar.jpg +0 -0
- data/test/dummy/public/assets/posts/3/large/fractals_generative.jpg +0 -0
- data/test/dummy/public/assets/posts/3/mini/fractals_generative.jpg +0 -0
- data/test/dummy/public/assets/posts/3/original/fractals_generative.jpg +0 -0
- data/test/dummy/public/assets/posts/3/preview/fractals_generative.jpg +0 -0
- data/test/dummy/public/assets/posts/3/small/fractals_generative.jpg +0 -0
- data/test/dummy/public/assets/products/4/large/bmw2002tii.jpg +0 -0
- data/test/dummy/public/assets/products/4/mini/bmw2002tii.jpg +0 -0
- data/test/dummy/public/assets/products/4/original/bmw2002tii.jpg +0 -0
- data/test/dummy/public/assets/products/4/product/bmw2002tii.jpg +0 -0
- data/test/dummy/public/assets/products/4/small/bmw2002tii.jpg +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/images/add-to-cart.png +0 -0
- data/test/dummy/public/images/admin/bg/active-tab.png +0 -0
- data/test/dummy/public/images/admin/bg/admin_tab_back.png +0 -0
- data/test/dummy/public/images/admin/bg/admin_tab_selected_back.png +0 -0
- data/test/dummy/public/images/admin/bg/content-back-blue.png +0 -0
- data/test/dummy/public/images/admin/bg/content-back-green.png +0 -0
- data/test/dummy/public/images/admin/bg/content-back.png +0 -0
- data/test/dummy/public/images/admin/bg/flash-error.png +0 -0
- data/test/dummy/public/images/admin/bg/flash-notice.png +0 -0
- data/test/dummy/public/images/admin/bg/green-stripes.gif +0 -0
- data/test/dummy/public/images/admin/bg/green-stripes.png +0 -0
- data/test/dummy/public/images/admin/bg/grid_header_back.png +0 -0
- data/test/dummy/public/images/admin/bg/grid_header_back_green.png +0 -0
- data/test/dummy/public/images/admin/bg/header-bg.png +0 -0
- data/test/dummy/public/images/admin/bg/header.png +0 -0
- data/test/dummy/public/images/admin/bg/header_bg.jpg +0 -0
- data/test/dummy/public/images/admin/bg/menu-current.png +0 -0
- data/test/dummy/public/images/admin/bg/red-stripes.gif +0 -0
- data/test/dummy/public/images/admin/bg/red-stripes.png +0 -0
- data/test/dummy/public/images/admin/bg/spree_50.png +0 -0
- data/test/dummy/public/images/admin/bg/subnav-divider.png +0 -0
- data/test/dummy/public/images/admin/bg/subnav.png +0 -0
- data/test/dummy/public/images/admin/bg/tab-back.png +0 -0
- data/test/dummy/public/images/admin/buttons/blue/left_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/blue/right_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/drag-handle-green.png +0 -0
- data/test/dummy/public/images/admin/buttons/green/left_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/green/right_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/left_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/left_01_small.png +0 -0
- data/test/dummy/public/images/admin/buttons/orange/left_03.png +0 -0
- data/test/dummy/public/images/admin/buttons/orange/right_03.png +0 -0
- data/test/dummy/public/images/admin/buttons/right_01.png +0 -0
- data/test/dummy/public/images/admin/buttons/right_01_small.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/1.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/10.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/2.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/3.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/4.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/5.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/6.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/7.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/8.png +0 -0
- data/test/dummy/public/images/admin/icons/16x16/9.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/1.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/10.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/11.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/2.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/3.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/4.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/5.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/6.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/7.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/8.png +0 -0
- data/test/dummy/public/images/admin/icons/32x32/9.png +0 -0
- data/test/dummy/public/images/admin/icons/accept.png +0 -0
- data/test/dummy/public/images/admin/icons/add.gif +0 -0
- data/test/dummy/public/images/admin/icons/add.png +0 -0
- data/test/dummy/public/images/admin/icons/arrow-down.gif +0 -0
- data/test/dummy/public/images/admin/icons/cross.png +0 -0
- data/test/dummy/public/images/admin/icons/delete.gif +0 -0
- data/test/dummy/public/images/admin/icons/delete.png +0 -0
- data/test/dummy/public/images/admin/icons/drag.gif +0 -0
- data/test/dummy/public/images/admin/icons/edit.gif +0 -0
- data/test/dummy/public/images/admin/icons/edit.png +0 -0
- data/test/dummy/public/images/admin/icons/email.png +0 -0
- data/test/dummy/public/images/admin/icons/error.png +0 -0
- data/test/dummy/public/images/admin/icons/exclamation.png +0 -0
- data/test/dummy/public/images/admin/icons/feed.png +0 -0
- data/test/dummy/public/images/admin/icons/pdf.png +0 -0
- data/test/dummy/public/images/admin/icons/reorder.gif +0 -0
- data/test/dummy/public/images/admin/icons/search.gif +0 -0
- data/test/dummy/public/images/admin/icons/send-email.png +0 -0
- data/test/dummy/public/images/admin/icons/stop.png +0 -0
- data/test/dummy/public/images/admin/icons/tick.png +0 -0
- data/test/dummy/public/images/admin/icons/up.gif +0 -0
- data/test/dummy/public/images/admin/icons/xls.png +0 -0
- data/test/dummy/public/images/admin/tabs/off-left.png +0 -0
- data/test/dummy/public/images/admin/tabs/off-right.png +0 -0
- data/test/dummy/public/images/admin/tabs/on-left.png +0 -0
- data/test/dummy/public/images/admin/tabs/on-right.png +0 -0
- data/test/dummy/public/images/ajax_loader.gif +0 -0
- data/test/dummy/public/images/amex_cid.gif +0 -0
- data/test/dummy/public/images/bg-button-hover.png +0 -0
- data/test/dummy/public/images/bg-button-pressed.png +0 -0
- data/test/dummy/public/images/bg-button.gif +0 -0
- data/test/dummy/public/images/bg-button.png +0 -0
- data/test/dummy/public/images/blue/left_01.png +0 -0
- data/test/dummy/public/images/blue/right_01.png +0 -0
- data/test/dummy/public/images/body-back.png +0 -0
- data/test/dummy/public/images/bottom_shine.png +0 -0
- data/test/dummy/public/images/breadcrumb.gif +0 -0
- data/test/dummy/public/images/button-dark-hover.png +0 -0
- data/test/dummy/public/images/button-dark.png +0 -0
- data/test/dummy/public/images/buttons/bg-button-hover.png +0 -0
- data/test/dummy/public/images/buttons/bg-button-pressed.png +0 -0
- data/test/dummy/public/images/buttons/bg-button.gif +0 -0
- data/test/dummy/public/images/buttons/bg-button.png +0 -0
- data/test/dummy/public/images/buttons/blue/left_01.png +0 -0
- data/test/dummy/public/images/buttons/blue/right_01.png +0 -0
- data/test/dummy/public/images/buttons/button-dark-hover.png +0 -0
- data/test/dummy/public/images/buttons/button-dark.png +0 -0
- data/test/dummy/public/images/buttons/drag-handle-green.png +0 -0
- data/test/dummy/public/images/buttons/green/left_01.png +0 -0
- data/test/dummy/public/images/buttons/green/right_01.png +0 -0
- data/test/dummy/public/images/buttons/left_01.png +0 -0
- data/test/dummy/public/images/buttons/left_01_small.png +0 -0
- data/test/dummy/public/images/buttons/orange/left_03.png +0 -0
- data/test/dummy/public/images/buttons/orange/right_03.png +0 -0
- data/test/dummy/public/images/buttons/right_01.png +0 -0
- data/test/dummy/public/images/buttons/right_01_small.png +0 -0
- data/test/dummy/public/images/buttons/sxsw-ribbon-v1.png +0 -0
- data/test/dummy/public/images/buttons/top-shine.png +0 -0
- data/test/dummy/public/images/calendar_date_select/calendar.gif +0 -0
- data/test/dummy/public/images/cart-empty.png +0 -0
- data/test/dummy/public/images/cart-empty_x32.png +0 -0
- data/test/dummy/public/images/cart-full.png +0 -0
- data/test/dummy/public/images/cart-full_x32.png +0 -0
- data/test/dummy/public/images/checkout.png +0 -0
- data/test/dummy/public/images/creditcard.gif +0 -0
- data/test/dummy/public/images/datepicker/backstripes.gif +0 -0
- data/test/dummy/public/images/datepicker/bg_header.jpg +0 -0
- data/test/dummy/public/images/datepicker/bullet1.gif +0 -0
- data/test/dummy/public/images/datepicker/bullet2.gif +0 -0
- data/test/dummy/public/images/datepicker/cal.gif +0 -0
- data/test/dummy/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
- data/test/dummy/public/images/discover_cid.gif +0 -0
- data/test/dummy/public/images/drag-handle-green.png +0 -0
- data/test/dummy/public/images/favicon.ico +0 -0
- data/test/dummy/public/images/green/left_01.png +0 -0
- data/test/dummy/public/images/green/right_01.png +0 -0
- data/test/dummy/public/images/grid.png +0 -0
- data/test/dummy/public/images/left_01.png +0 -0
- data/test/dummy/public/images/left_01_small.png +0 -0
- data/test/dummy/public/images/master_cid.jpg +0 -0
- data/test/dummy/public/images/menu-current.png +0 -0
- data/test/dummy/public/images/menu-hover.png +0 -0
- data/test/dummy/public/images/noimage/mini.jpg +0 -0
- data/test/dummy/public/images/noimage/product.jpg +0 -0
- data/test/dummy/public/images/noimage/small.jpg +0 -0
- data/test/dummy/public/images/openid-inputicon.gif +0 -0
- data/test/dummy/public/images/orange/left_03.png +0 -0
- data/test/dummy/public/images/orange/right_03.png +0 -0
- data/test/dummy/public/images/progress.gif +0 -0
- data/test/dummy/public/images/right_01.png +0 -0
- data/test/dummy/public/images/right_01_small.png +0 -0
- data/test/dummy/public/images/separator.png +0 -0
- data/test/dummy/public/images/shadow-top.png +0 -0
- data/test/dummy/public/images/shadow_top.png +0 -0
- data/test/dummy/public/images/spinner.gif +0 -0
- data/test/dummy/public/images/spree.jpg +0 -0
- data/test/dummy/public/images/spree/progress.gif +0 -0
- data/test/dummy/public/images/spree/spinner.gif +0 -0
- data/test/dummy/public/images/spree/spree.jpg +0 -0
- data/test/dummy/public/images/step-progress/completed-completed.gif +0 -0
- data/test/dummy/public/images/step-progress/completed-current.gif +0 -0
- data/test/dummy/public/images/step-progress/completed-first.gif +0 -0
- data/test/dummy/public/images/step-progress/current-first.gif +0 -0
- data/test/dummy/public/images/step-progress/current-incomplete.gif +0 -0
- data/test/dummy/public/images/step-progress/current-right.gif +0 -0
- data/test/dummy/public/images/step-progress/incomplete-incomplete.gif +0 -0
- data/test/dummy/public/images/step-progress/incomplete-right.gif +0 -0
- data/test/dummy/public/images/steps/1.png +0 -0
- data/test/dummy/public/images/steps/1_small.png +0 -0
- data/test/dummy/public/images/steps/2.png +0 -0
- data/test/dummy/public/images/steps/2_small.png +0 -0
- data/test/dummy/public/images/steps/3.png +0 -0
- data/test/dummy/public/images/steps/3_small.png +0 -0
- data/test/dummy/public/images/steps/4.png +0 -0
- data/test/dummy/public/images/steps/4_small.png +0 -0
- data/test/dummy/public/images/steps/5.png +0 -0
- data/test/dummy/public/images/steps/5_small.png +0 -0
- data/test/dummy/public/images/steps/6.png +0 -0
- data/test/dummy/public/images/steps/6_small.png +0 -0
- data/test/dummy/public/images/sxsw-ribbon-v1.png +0 -0
- data/test/dummy/public/images/tab_bottom.gif +0 -0
- data/test/dummy/public/images/tile-header.png +0 -0
- data/test/dummy/public/images/tile-slider.png +0 -0
- data/test/dummy/public/images/top-shine.png +0 -0
- data/test/dummy/public/images/tree-nav-icons/bullet.gif +0 -0
- data/test/dummy/public/images/tree-nav-icons/minus.gif +0 -0
- data/test/dummy/public/images/tree-nav-icons/plus.gif +0 -0
- data/test/dummy/public/images/tree-nav-icons/treeview-loading.gif +0 -0
- data/test/dummy/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
- data/test/dummy/public/images/update.png +0 -0
- data/test/dummy/public/images/visa_cid.gif +0 -0
- data/test/dummy/public/images/wrapper-back-2.png +0 -0
- data/test/dummy/public/images/wrapper-back.png +0 -0
- data/test/dummy/public/images/yui-menubaritem_submenuindicator.png +0 -0
- data/test/dummy/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
- data/test/dummy/public/images/yui-menuitem_checkbox.png +0 -0
- data/test/dummy/public/images/yui-menuitem_checkbox_disabled.png +0 -0
- data/test/dummy/public/images/yui-menuitem_submenuindicator.png +0 -0
- data/test/dummy/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
- data/test/dummy/public/images/yui-sprite.png +0 -0
- data/test/dummy/public/javascripts/additional-methods.js +0 -236
- data/test/dummy/public/javascripts/admin.js +0 -226
- data/test/dummy/public/javascripts/admin/address_states.js +0 -25
- data/test/dummy/public/javascripts/admin/checkouts/edit.js +0 -130
- data/test/dummy/public/javascripts/admin/orders/edit.js +0 -23
- data/test/dummy/public/javascripts/admin/orders/edit_form.js +0 -16
- data/test/dummy/public/javascripts/admin/payments/new.js +0 -9
- data/test/dummy/public/javascripts/admin/promotions.js +0 -26
- data/test/dummy/public/javascripts/admin/unobtrusive_handlers.js +0 -15
- data/test/dummy/public/javascripts/application.js +0 -12
- data/test/dummy/public/javascripts/calculator.js +0 -15
- data/test/dummy/public/javascripts/checkout.js +0 -75
- data/test/dummy/public/javascripts/controls.js +0 -965
- data/test/dummy/public/javascripts/dashboard.js +0 -143
- data/test/dummy/public/javascripts/datepicker.js +0 -1445
- data/test/dummy/public/javascripts/dragdrop.js +0 -974
- data/test/dummy/public/javascripts/effects.js +0 -1123
- data/test/dummy/public/javascripts/gateway.js +0 -13
- data/test/dummy/public/javascripts/jqPlot/excanvas.min.js +0 -1
- data/test/dummy/public/javascripts/jqPlot/jquery.jqplot.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +0 -14
- data/test/dummy/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +0 -14
- data/test/dummy/public/javascripts/jquery-1.4.2.min.js +0 -154
- data/test/dummy/public/javascripts/jquery-ui.js +0 -188
- data/test/dummy/public/javascripts/jquery.alerts/images/help.gif +0 -0
- data/test/dummy/public/javascripts/jquery.alerts/images/important.gif +0 -0
- data/test/dummy/public/javascripts/jquery.alerts/images/info.gif +0 -0
- data/test/dummy/public/javascripts/jquery.alerts/images/title.gif +0 -0
- data/test/dummy/public/javascripts/jquery.alerts/jquery.alerts.css +0 -57
- data/test/dummy/public/javascripts/jquery.alerts/jquery.alerts.js +0 -235
- data/test/dummy/public/javascripts/jquery.alerts/jquery.alerts.spree.css +0 -30
- data/test/dummy/public/javascripts/jquery.autocomplete.min.js +0 -13
- data/test/dummy/public/javascripts/jquery.cookie.js +0 -96
- data/test/dummy/public/javascripts/jquery.delayedobserver.js +0 -35
- data/test/dummy/public/javascripts/jquery.js +0 -19
- data/test/dummy/public/javascripts/jquery.suggest.js +0 -276
- data/test/dummy/public/javascripts/jquery.template.js +0 -255
- data/test/dummy/public/javascripts/jquery.tokeninput.js +0 -618
- data/test/dummy/public/javascripts/jquery.validate.min.js +0 -16
- data/test/dummy/public/javascripts/jrails.autocomplete.js +0 -274
- data/test/dummy/public/javascripts/jrails.js +0 -1
- data/test/dummy/public/javascripts/jsTree/jquery.jstree.js +0 -3510
- data/test/dummy/public/javascripts/jsTree/jquery.tree.js +0 -2058
- data/test/dummy/public/javascripts/jsTree/plugins/jquery.tree.contextmenu.js +0 -129
- data/test/dummy/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
- data/test/dummy/public/javascripts/jsTree/themes/apple/d.png +0 -0
- data/test/dummy/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
- data/test/dummy/public/javascripts/jsTree/themes/apple/icons.png +0 -0
- data/test/dummy/public/javascripts/jsTree/themes/apple/style.css +0 -60
- data/test/dummy/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
- data/test/dummy/public/javascripts/lang/af.js +0 -40
- data/test/dummy/public/javascripts/lang/ar.js +0 -50
- data/test/dummy/public/javascripts/lang/de.js +0 -40
- data/test/dummy/public/javascripts/lang/du.js +0 -40
- data/test/dummy/public/javascripts/lang/en.js +0 -42
- data/test/dummy/public/javascripts/lang/es.js +0 -41
- data/test/dummy/public/javascripts/lang/fi.js +0 -40
- data/test/dummy/public/javascripts/lang/fr.js +0 -44
- data/test/dummy/public/javascripts/lang/gr.js +0 -40
- data/test/dummy/public/javascripts/lang/he.js +0 -49
- data/test/dummy/public/javascripts/lang/it.js +0 -13
- data/test/dummy/public/javascripts/lang/nl.js +0 -40
- data/test/dummy/public/javascripts/lang/no.js +0 -40
- data/test/dummy/public/javascripts/lang/pt.js +0 -50
- data/test/dummy/public/javascripts/lang/ro.js +0 -40
- data/test/dummy/public/javascripts/lang/ru.js +0 -40
- data/test/dummy/public/javascripts/lang/sp.js +0 -40
- data/test/dummy/public/javascripts/lang/sv.js +0 -41
- data/test/dummy/public/javascripts/lang/ua.js +0 -40
- data/test/dummy/public/javascripts/localization/messages_cn.js +0 -24
- data/test/dummy/public/javascripts/localization/messages_cs.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_da.js +0 -21
- data/test/dummy/public/javascripts/localization/messages_de.js +0 -21
- data/test/dummy/public/javascripts/localization/messages_es.js +0 -24
- data/test/dummy/public/javascripts/localization/messages_fr.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_hu.js +0 -21
- data/test/dummy/public/javascripts/localization/messages_it.js +0 -26
- data/test/dummy/public/javascripts/localization/messages_kk.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_nl.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_no.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_pl.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_ptbr.js +0 -30
- data/test/dummy/public/javascripts/localization/messages_ro.js +0 -24
- data/test/dummy/public/javascripts/localization/messages_ru.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_se.js +0 -23
- data/test/dummy/public/javascripts/localization/messages_sk.js +0 -21
- data/test/dummy/public/javascripts/localization/messages_tr.js +0 -24
- data/test/dummy/public/javascripts/localization/messages_tw.js +0 -24
- data/test/dummy/public/javascripts/localization/messages_ua.js +0 -24
- data/test/dummy/public/javascripts/nested-attribute.js +0 -26
- data/test/dummy/public/javascripts/open_id.js +0 -15
- data/test/dummy/public/javascripts/product.js +0 -49
- data/test/dummy/public/javascripts/prototype.js +0 -6001
- data/test/dummy/public/javascripts/rails.js +0 -127
- data/test/dummy/public/javascripts/taxonomy.js +0 -197
- data/test/dummy/public/javascripts/zone.js +0 -40
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/dummy/public/stylesheets/admin/admin-forms.css +0 -159
- data/test/dummy/public/stylesheets/admin/admin-reset.css +0 -67
- data/test/dummy/public/stylesheets/admin/admin-tables.css +0 -39
- data/test/dummy/public/stylesheets/admin/admin-typography.css +0 -117
- data/test/dummy/public/stylesheets/admin/admin.css +0 -579
- data/test/dummy/public/stylesheets/admin/autocomplete.css +0 -73
- data/test/dummy/public/stylesheets/admin/dashboard.css +0 -143
- data/test/dummy/public/stylesheets/admin/edit_checkouts.css +0 -57
- data/test/dummy/public/stylesheets/admin/grids.css +0 -314
- data/test/dummy/public/stylesheets/admin/promotions.css +0 -54
- data/test/dummy/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +0 -7
- data/test/dummy/public/stylesheets/admin/token-input.css +0 -109
- data/test/dummy/public/stylesheets/admin/yui-includes.css +0 -14
- data/test/dummy/public/stylesheets/datepicker.css +0 -263
- data/test/dummy/public/stylesheets/jquery.autocomplete.css +0 -48
- data/test/dummy/public/stylesheets/scaffold.css +0 -54
- data/test/dummy/public/stylesheets/screen.css +0 -1195
- data/test/dummy/script/rails +0 -6
- data/test/functional/press_controller_test.rb +0 -13
- data/test/integration/admin/press_test.rb +0 -15
- data/test/support/helper_methods.rb +0 -11
- data/test/support/integration_case.rb +0 -25
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,57 +0,0 @@
|
|
1
|
-
#popup_container {
|
2
|
-
font-family: Arial, sans-serif;
|
3
|
-
font-size: 12px;
|
4
|
-
min-width: 300px; /* Dialog will be no smaller than this */
|
5
|
-
max-width: 600px; /* Dialog will wrap after this width */
|
6
|
-
background: #FFF;
|
7
|
-
border: solid 5px #999;
|
8
|
-
color: #000;
|
9
|
-
-moz-border-radius: 5px;
|
10
|
-
-webkit-border-radius: 5px;
|
11
|
-
border-radius: 5px;
|
12
|
-
}
|
13
|
-
|
14
|
-
#popup_title {
|
15
|
-
font-size: 14px;
|
16
|
-
font-weight: bold;
|
17
|
-
text-align: center;
|
18
|
-
line-height: 1.75em;
|
19
|
-
color: #666;
|
20
|
-
background: #CCC url(images/title.gif) top repeat-x;
|
21
|
-
border: solid 1px #FFF;
|
22
|
-
border-bottom: solid 1px #999;
|
23
|
-
cursor: default;
|
24
|
-
padding: 0em;
|
25
|
-
margin: 0em;
|
26
|
-
}
|
27
|
-
|
28
|
-
#popup_content {
|
29
|
-
background: 16px 16px no-repeat url(images/info.gif);
|
30
|
-
padding: 1em 1.75em;
|
31
|
-
margin: 0em;
|
32
|
-
}
|
33
|
-
|
34
|
-
#popup_content.alert {
|
35
|
-
background-image: url(images/info.gif);
|
36
|
-
}
|
37
|
-
|
38
|
-
#popup_content.confirm {
|
39
|
-
background-image: url(images/important.gif);
|
40
|
-
}
|
41
|
-
|
42
|
-
#popup_content.prompt {
|
43
|
-
background-image: url(images/help.gif);
|
44
|
-
}
|
45
|
-
|
46
|
-
#popup_message {
|
47
|
-
padding-left: 48px;
|
48
|
-
}
|
49
|
-
|
50
|
-
#popup_panel {
|
51
|
-
text-align: center;
|
52
|
-
margin: 1em 0em 0em 1em;
|
53
|
-
}
|
54
|
-
|
55
|
-
#popup_prompt {
|
56
|
-
margin: .5em 0em;
|
57
|
-
}
|
@@ -1,235 +0,0 @@
|
|
1
|
-
// jQuery Alert Dialogs Plugin
|
2
|
-
//
|
3
|
-
// Version 1.1
|
4
|
-
//
|
5
|
-
// Cory S.N. LaViska
|
6
|
-
// A Beautiful Site (http://abeautifulsite.net/)
|
7
|
-
// 14 May 2009
|
8
|
-
//
|
9
|
-
// Visit http://abeautifulsite.net/notebook/87 for more information
|
10
|
-
//
|
11
|
-
// Usage:
|
12
|
-
// jAlert( message, [title, callback] )
|
13
|
-
// jConfirm( message, [title, callback] )
|
14
|
-
// jPrompt( message, [value, title, callback] )
|
15
|
-
//
|
16
|
-
// History:
|
17
|
-
//
|
18
|
-
// 1.00 - Released (29 December 2008)
|
19
|
-
//
|
20
|
-
// 1.01 - Fixed bug where unbinding would destroy all resize events
|
21
|
-
//
|
22
|
-
// License:
|
23
|
-
//
|
24
|
-
// This plugin is dual-licensed under the GNU General Public License and the MIT License and
|
25
|
-
// is copyright 2008 A Beautiful Site, LLC.
|
26
|
-
//
|
27
|
-
(function($) {
|
28
|
-
|
29
|
-
$.alerts = {
|
30
|
-
|
31
|
-
// These properties can be read/written by accessing $.alerts.propertyName from your scripts at any time
|
32
|
-
|
33
|
-
verticalOffset: -75, // vertical offset of the dialog from center screen, in pixels
|
34
|
-
horizontalOffset: 0, // horizontal offset of the dialog from center screen, in pixels/
|
35
|
-
repositionOnResize: true, // re-centers the dialog on window resize
|
36
|
-
overlayOpacity: .01, // transparency level of overlay
|
37
|
-
overlayColor: '#FFF', // base color of overlay
|
38
|
-
draggable: true, // make the dialogs draggable (requires UI Draggables plugin)
|
39
|
-
okButton: ' OK ', // text for the OK button
|
40
|
-
cancelButton: ' Cancel ', // text for the Cancel button
|
41
|
-
dialogClass: null, // if specified, this class will be applied to all dialogs
|
42
|
-
|
43
|
-
// Public methods
|
44
|
-
|
45
|
-
alert: function(message, title, callback) {
|
46
|
-
if( title == null ) title = 'Alert';
|
47
|
-
$.alerts._show(title, message, null, 'alert', function(result) {
|
48
|
-
if( callback ) callback(result);
|
49
|
-
});
|
50
|
-
},
|
51
|
-
|
52
|
-
confirm: function(message, title, callback) {
|
53
|
-
if( title == null ) title = 'Confirm';
|
54
|
-
$.alerts._show(title, message, null, 'confirm', function(result) {
|
55
|
-
if( callback ) callback(result);
|
56
|
-
});
|
57
|
-
},
|
58
|
-
|
59
|
-
prompt: function(message, value, title, callback) {
|
60
|
-
if( title == null ) title = 'Prompt';
|
61
|
-
$.alerts._show(title, message, value, 'prompt', function(result) {
|
62
|
-
if( callback ) callback(result);
|
63
|
-
});
|
64
|
-
},
|
65
|
-
|
66
|
-
// Private methods
|
67
|
-
|
68
|
-
_show: function(title, msg, value, type, callback) {
|
69
|
-
|
70
|
-
$.alerts._hide();
|
71
|
-
$.alerts._overlay('show');
|
72
|
-
|
73
|
-
$("BODY").append(
|
74
|
-
'<div id="popup_container">' +
|
75
|
-
'<h1 id="popup_title"></h1>' +
|
76
|
-
'<div id="popup_content">' +
|
77
|
-
'<div id="popup_message"></div>' +
|
78
|
-
'</div>' +
|
79
|
-
'</div>');
|
80
|
-
|
81
|
-
if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass);
|
82
|
-
|
83
|
-
// IE6 Fix
|
84
|
-
var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed';
|
85
|
-
|
86
|
-
$("#popup_container").css({
|
87
|
-
position: pos,
|
88
|
-
zIndex: 99999,
|
89
|
-
padding: 0,
|
90
|
-
margin: 0
|
91
|
-
});
|
92
|
-
|
93
|
-
$("#popup_title").text(title);
|
94
|
-
$("#popup_content").addClass(type);
|
95
|
-
$("#popup_message").text(msg);
|
96
|
-
$("#popup_message").html( $("#popup_message").text().replace(/\n/g, '<br />') );
|
97
|
-
|
98
|
-
$("#popup_container").css({
|
99
|
-
minWidth: $("#popup_container").outerWidth(),
|
100
|
-
maxWidth: $("#popup_container").outerWidth()
|
101
|
-
});
|
102
|
-
|
103
|
-
$.alerts._reposition();
|
104
|
-
$.alerts._maintainPosition(true);
|
105
|
-
|
106
|
-
switch( type ) {
|
107
|
-
case 'alert':
|
108
|
-
$("#popup_message").after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /></div>');
|
109
|
-
$("#popup_ok").click( function() {
|
110
|
-
$.alerts._hide();
|
111
|
-
callback(true);
|
112
|
-
});
|
113
|
-
$("#popup_ok").focus().keypress( function(e) {
|
114
|
-
if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click');
|
115
|
-
});
|
116
|
-
break;
|
117
|
-
case 'confirm':
|
118
|
-
$("#popup_message").after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /> <input type="button" value="' + $.alerts.cancelButton + '" id="popup_cancel" /></div>');
|
119
|
-
$("#popup_ok").click( function() {
|
120
|
-
$.alerts._hide();
|
121
|
-
if( callback ) callback(true);
|
122
|
-
});
|
123
|
-
$("#popup_cancel").click( function() {
|
124
|
-
$.alerts._hide();
|
125
|
-
if( callback ) callback(false);
|
126
|
-
});
|
127
|
-
$("#popup_ok").focus();
|
128
|
-
$("#popup_ok, #popup_cancel").keypress( function(e) {
|
129
|
-
if( e.keyCode == 13 ) $("#popup_ok").trigger('click');
|
130
|
-
if( e.keyCode == 27 ) $("#popup_cancel").trigger('click');
|
131
|
-
});
|
132
|
-
break;
|
133
|
-
case 'prompt':
|
134
|
-
$("#popup_message").append('<br /><input type="text" size="30" id="popup_prompt" />').after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /> <input type="button" value="' + $.alerts.cancelButton + '" id="popup_cancel" /></div>');
|
135
|
-
$("#popup_prompt").width( $("#popup_message").width() );
|
136
|
-
$("#popup_ok").click( function() {
|
137
|
-
var val = $("#popup_prompt").val();
|
138
|
-
$.alerts._hide();
|
139
|
-
if( callback ) callback( val );
|
140
|
-
});
|
141
|
-
$("#popup_cancel").click( function() {
|
142
|
-
$.alerts._hide();
|
143
|
-
if( callback ) callback( null );
|
144
|
-
});
|
145
|
-
$("#popup_prompt, #popup_ok, #popup_cancel").keypress( function(e) {
|
146
|
-
if( e.keyCode == 13 ) $("#popup_ok").trigger('click');
|
147
|
-
if( e.keyCode == 27 ) $("#popup_cancel").trigger('click');
|
148
|
-
});
|
149
|
-
if( value ) $("#popup_prompt").val(value);
|
150
|
-
$("#popup_prompt").focus().select();
|
151
|
-
break;
|
152
|
-
}
|
153
|
-
|
154
|
-
// Make draggable
|
155
|
-
if( $.alerts.draggable ) {
|
156
|
-
try {
|
157
|
-
$("#popup_container").draggable({ handle: $("#popup_title") });
|
158
|
-
$("#popup_title").css({ cursor: 'move' });
|
159
|
-
} catch(e) { /* requires jQuery UI draggables */ }
|
160
|
-
}
|
161
|
-
},
|
162
|
-
|
163
|
-
_hide: function() {
|
164
|
-
$("#popup_container").remove();
|
165
|
-
$.alerts._overlay('hide');
|
166
|
-
$.alerts._maintainPosition(false);
|
167
|
-
},
|
168
|
-
|
169
|
-
_overlay: function(status) {
|
170
|
-
switch( status ) {
|
171
|
-
case 'show':
|
172
|
-
$.alerts._overlay('hide');
|
173
|
-
$("BODY").append('<div id="popup_overlay"></div>');
|
174
|
-
$("#popup_overlay").css({
|
175
|
-
position: 'absolute',
|
176
|
-
zIndex: 99998,
|
177
|
-
top: '0px',
|
178
|
-
left: '0px',
|
179
|
-
width: '100%',
|
180
|
-
height: $(document).height(),
|
181
|
-
background: $.alerts.overlayColor,
|
182
|
-
opacity: $.alerts.overlayOpacity
|
183
|
-
});
|
184
|
-
break;
|
185
|
-
case 'hide':
|
186
|
-
$("#popup_overlay").remove();
|
187
|
-
break;
|
188
|
-
}
|
189
|
-
},
|
190
|
-
|
191
|
-
_reposition: function() {
|
192
|
-
var top = (($(window).height() / 2) - ($("#popup_container").outerHeight() / 2)) + $.alerts.verticalOffset;
|
193
|
-
var left = (($(window).width() / 2) - ($("#popup_container").outerWidth() / 2)) + $.alerts.horizontalOffset;
|
194
|
-
if( top < 0 ) top = 0;
|
195
|
-
if( left < 0 ) left = 0;
|
196
|
-
|
197
|
-
// IE6 fix
|
198
|
-
if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop();
|
199
|
-
|
200
|
-
$("#popup_container").css({
|
201
|
-
top: top + 'px',
|
202
|
-
left: left + 'px'
|
203
|
-
});
|
204
|
-
$("#popup_overlay").height( $(document).height() );
|
205
|
-
},
|
206
|
-
|
207
|
-
_maintainPosition: function(status) {
|
208
|
-
if( $.alerts.repositionOnResize ) {
|
209
|
-
switch(status) {
|
210
|
-
case true:
|
211
|
-
$(window).bind('resize', $.alerts._reposition);
|
212
|
-
break;
|
213
|
-
case false:
|
214
|
-
$(window).unbind('resize', $.alerts._reposition);
|
215
|
-
break;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
}
|
221
|
-
|
222
|
-
// Shortuct functions
|
223
|
-
jAlert = function(message, title, callback) {
|
224
|
-
$.alerts.alert(message, title, callback);
|
225
|
-
}
|
226
|
-
|
227
|
-
jConfirm = function(message, title, callback) {
|
228
|
-
$.alerts.confirm(message, title, callback);
|
229
|
-
};
|
230
|
-
|
231
|
-
jPrompt = function(message, value, title, callback) {
|
232
|
-
$.alerts.prompt(message, value, title, callback);
|
233
|
-
};
|
234
|
-
|
235
|
-
})(jQuery);
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/* Spree Custom dialog styles */
|
2
|
-
#popup_container.spree {
|
3
|
-
|
4
|
-
color: #fff;
|
5
|
-
background: #005294;
|
6
|
-
border-color: #113F66;
|
7
|
-
}
|
8
|
-
|
9
|
-
#popup_container.spree #popup_title {
|
10
|
-
color: #FFF;
|
11
|
-
font-weight: normal;
|
12
|
-
text-align: left;
|
13
|
-
background: #76A5CC;
|
14
|
-
border: solid 1px #005294;
|
15
|
-
padding-left: 1em;
|
16
|
-
}
|
17
|
-
|
18
|
-
#popup_container.spree #popup_content {
|
19
|
-
background: none;
|
20
|
-
}
|
21
|
-
|
22
|
-
#popup_container.spree #popup_message {
|
23
|
-
padding-left: 0em;
|
24
|
-
}
|
25
|
-
|
26
|
-
#popup_container.spree INPUT[type='button'] {
|
27
|
-
border: outset 2px #76A5CC;
|
28
|
-
color: #fff;
|
29
|
-
background: #3778AE;
|
30
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* jQuery Autocomplete plugin 1.1
|
3
|
-
*
|
4
|
-
* Copyright (c) 2009 Jörn Zaefferer
|
5
|
-
*
|
6
|
-
* Dual licensed under the MIT and GPL licenses:
|
7
|
-
* http://www.opensource.org/licenses/mit-license.php
|
8
|
-
* http://www.gnu.org/licenses/gpl.html
|
9
|
-
*
|
10
|
-
* Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $
|
11
|
-
*/;(function($){$.fn.extend({autocomplete:function(urlOrData,options){var isUrl=typeof urlOrData=="string";options=$.extend({},$.Autocompleter.defaults,{url:isUrl?urlOrData:null,data:isUrl?null:urlOrData,delay:isUrl?$.Autocompleter.defaults.delay:10,max:options&&!options.scroll?10:150},options);options.highlight=options.highlight||function(value){return value;};options.formatMatch=options.formatMatch||options.formatItem;return this.each(function(){new $.Autocompleter(this,options);});},result:function(handler){return this.bind("result",handler);},search:function(handler){return this.trigger("search",[handler]);},flushCache:function(){return this.trigger("flushCache");},setOptions:function(options){return this.trigger("setOptions",[options]);},unautocomplete:function(){return this.trigger("unautocomplete");}});$.Autocompleter=function(input,options){var KEY={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var $input=$(input).attr("autocomplete","off").addClass(options.inputClass);var timeout;var previousValue="";var cache=$.Autocompleter.Cache(options);var hasFocus=0;var lastKeyPressCode;var config={mouseDownOnSelect:false};var select=$.Autocompleter.Select(options,input,selectCurrent,config);var blockSubmit;$.browser.opera&&$(input.form).bind("submit.autocomplete",function(){if(blockSubmit){blockSubmit=false;return false;}});$input.bind(($.browser.opera?"keypress":"keydown")+".autocomplete",function(event){hasFocus=1;lastKeyPressCode=event.keyCode;switch(event.keyCode){case KEY.UP:event.preventDefault();if(select.visible()){select.prev();}else{onChange(0,true);}break;case KEY.DOWN:event.preventDefault();if(select.visible()){select.next();}else{onChange(0,true);}break;case KEY.PAGEUP:event.preventDefault();if(select.visible()){select.pageUp();}else{onChange(0,true);}break;case KEY.PAGEDOWN:event.preventDefault();if(select.visible()){select.pageDown();}else{onChange(0,true);}break;case options.multiple&&$.trim(options.multipleSeparator)==","&&KEY.COMMA:case KEY.TAB:case KEY.RETURN:if(selectCurrent()){event.preventDefault();blockSubmit=true;return false;}break;case KEY.ESC:select.hide();break;default:clearTimeout(timeout);timeout=setTimeout(onChange,options.delay);break;}}).focus(function(){hasFocus++;}).blur(function(){hasFocus=0;if(!config.mouseDownOnSelect){hideResults();}}).click(function(){if(hasFocus++>1&&!select.visible()){onChange(0,true);}}).bind("search",function(){var fn=(arguments.length>1)?arguments[1]:null;function findValueCallback(q,data){var result;if(data&&data.length){for(var i=0;i<data.length;i++){if(data[i].result.toLowerCase()==q.toLowerCase()){result=data[i];break;}}}if(typeof fn=="function")fn(result);else $input.trigger("result",result&&[result.data,result.value]);}$.each(trimWords($input.val()),function(i,value){request(value,findValueCallback,findValueCallback);});}).bind("flushCache",function(){cache.flush();}).bind("setOptions",function(){$.extend(options,arguments[1]);if("data"in arguments[1])cache.populate();}).bind("unautocomplete",function(){select.unbind();$input.unbind();$(input.form).unbind(".autocomplete");});function selectCurrent(){var selected=select.selected();if(!selected)return false;var v=selected.result;previousValue=v;if(options.multiple){var words=trimWords($input.val());if(words.length>1){var seperator=options.multipleSeparator.length;var cursorAt=$(input).selection().start;var wordAt,progress=0;$.each(words,function(i,word){progress+=word.length;if(cursorAt<=progress){wordAt=i;return false;}progress+=seperator;});words[wordAt]=v;v=words.join(options.multipleSeparator);}v+=options.multipleSeparator;}$input.val(v);hideResultsNow();$input.trigger("result",[selected.data,selected.value]);return true;}function onChange(crap,skipPrevCheck){if(lastKeyPressCode==KEY.DEL){select.hide();return;}var currentValue=$input.val();if(!skipPrevCheck&¤tValue==previousValue)return;previousValue=currentValue;currentValue=lastWord(currentValue);if(currentValue.length>=options.minChars){$input.addClass(options.loadingClass);if(!options.matchCase)currentValue=currentValue.toLowerCase();request(currentValue,receiveData,hideResultsNow);}else{stopLoading();select.hide();}};function trimWords(value){if(!value)return[""];if(!options.multiple)return[$.trim(value)];return $.map(value.split(options.multipleSeparator),function(word){return $.trim(value).length?$.trim(word):null;});}function lastWord(value){if(!options.multiple)return value;var words=trimWords(value);if(words.length==1)return words[0];var cursorAt=$(input).selection().start;if(cursorAt==value.length){words=trimWords(value)}else{words=trimWords(value.replace(value.substring(cursorAt),""));}return words[words.length-1];}function autoFill(q,sValue){if(options.autoFill&&(lastWord($input.val()).toLowerCase()==q.toLowerCase())&&lastKeyPressCode!=KEY.BACKSPACE){$input.val($input.val()+sValue.substring(lastWord(previousValue).length));$(input).selection(previousValue.length,previousValue.length+sValue.length);}};function hideResults(){clearTimeout(timeout);timeout=setTimeout(hideResultsNow,200);};function hideResultsNow(){var wasVisible=select.visible();select.hide();clearTimeout(timeout);stopLoading();if(options.mustMatch){$input.search(function(result){if(!result){if(options.multiple){var words=trimWords($input.val()).slice(0,-1);$input.val(words.join(options.multipleSeparator)+(words.length?options.multipleSeparator:""));}else{$input.val("");$input.trigger("result",null);}}});}};function receiveData(q,data){if(data&&data.length&&hasFocus){stopLoading();select.display(data,q);autoFill(q,data[0].value);select.show();}else{hideResultsNow();}};function request(term,success,failure){if(!options.matchCase)term=term.toLowerCase();var data=cache.load(term);if(data&&data.length){success(term,data);}else if((typeof options.url=="string")&&(options.url.length>0)){var extraParams={timestamp:+new Date()};$.each(options.extraParams,function(key,param){extraParams[key]=typeof param=="function"?param():param;});$.ajax({mode:"abort",port:"autocomplete"+input.name,dataType:options.dataType,url:options.url,data:$.extend({q:lastWord(term),limit:options.max},extraParams),success:function(data){var parsed=options.parse&&options.parse(data)||parse(data);cache.add(term,parsed);success(term,parsed);}});}else{select.emptyList();failure(term);}};function parse(data){var parsed=[];var rows=data.split("\n");for(var i=0;i<rows.length;i++){var row=$.trim(rows[i]);if(row){row=row.split("|");parsed[parsed.length]={data:row,value:row[0],result:options.formatResult&&options.formatResult(row,row[0])||row[0]};}}return parsed;};function stopLoading(){$input.removeClass(options.loadingClass);};};$.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(row){return row[0];},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(value,term){return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>");},scroll:true,scrollHeight:180};$.Autocompleter.Cache=function(options){var data={};var length=0;function matchSubset(s,sub){if(!options.matchCase)s=s.toLowerCase();var i=s.indexOf(sub);if(options.matchContains=="word"){i=s.toLowerCase().search("\\b"+sub.toLowerCase());}if(i==-1)return false;return i==0||options.matchContains;};function add(q,value){if(length>options.cacheLength){flush();}if(!data[q]){length++;}data[q]=value;}function populate(){if(!options.data)return false;var stMatchSets={},nullData=0;if(!options.url)options.cacheLength=1;stMatchSets[""]=[];for(var i=0,ol=options.data.length;i<ol;i++){var rawValue=options.data[i];rawValue=(typeof rawValue=="string")?[rawValue]:rawValue;var value=options.formatMatch(rawValue,i+1,options.data.length);if(value===false)continue;var firstChar=value.charAt(0).toLowerCase();if(!stMatchSets[firstChar])stMatchSets[firstChar]=[];var row={value:value,data:rawValue,result:options.formatResult&&options.formatResult(rawValue)||value};stMatchSets[firstChar].push(row);if(nullData++<options.max){stMatchSets[""].push(row);}};$.each(stMatchSets,function(i,value){options.cacheLength++;add(i,value);});}setTimeout(populate,25);function flush(){data={};length=0;}return{flush:flush,add:add,populate:populate,load:function(q){if(!options.cacheLength||!length)return null;if(!options.url&&options.matchContains){var csub=[];for(var k in data){if(k.length>0){var c=data[k];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub.push(x);}});}}return csub;}else
|
12
|
-
if(data[q]){return data[q];}else
|
13
|
-
if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data[q.substr(0,i)];if(c){var csub=[];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub[csub.length]=x;}});return csub;}}}return null;}};};$.Autocompleter.Select=function(options,input,select,config){var CLASSES={ACTIVE:"ac_over"};var listItems,active=-1,data,term="",needsInit=true,element,list;function init(){if(!needsInit)return;element=$("<div/>").hide().addClass(options.resultsClass).css("position","absolute").appendTo(document.body);list=$("<ul/>").appendTo(element).mouseover(function(event){if(target(event).nodeName&&target(event).nodeName.toUpperCase()=='LI'){active=$("li",list).removeClass(CLASSES.ACTIVE).index(target(event));$(target(event)).addClass(CLASSES.ACTIVE);}}).click(function(event){$(target(event)).addClass(CLASSES.ACTIVE);select();input.focus();return false;}).mousedown(function(){config.mouseDownOnSelect=true;}).mouseup(function(){config.mouseDownOnSelect=false;});if(options.width>0)element.css("width",options.width);needsInit=false;}function target(event){var element=event.target;while(element&&element.tagName!="LI")element=element.parentNode;if(!element)return[];return element;}function moveSelect(step){listItems.slice(active,active+1).removeClass(CLASSES.ACTIVE);movePosition(step);var activeItem=listItems.slice(active,active+1).addClass(CLASSES.ACTIVE);if(options.scroll){var offset=0;listItems.slice(0,active).each(function(){offset+=this.offsetHeight;});if((offset+activeItem[0].offsetHeight-list.scrollTop())>list[0].clientHeight){list.scrollTop(offset+activeItem[0].offsetHeight-list.innerHeight());}else if(offset<list.scrollTop()){list.scrollTop(offset);}}};function movePosition(step){active+=step;if(active<0){active=listItems.size()-1;}else if(active>=listItems.size()){active=0;}}function limitNumberOfItems(available){return options.max&&options.max<available?options.max:available;}function fillList(){list.empty();var max=limitNumberOfItems(data.length);for(var i=0;i<max;i++){if(!data[i])continue;var formatted=options.formatItem(data[i].data,i+1,max,data[i].value,term);if(formatted===false)continue;var li=$("<li/>").html(options.highlight(formatted,term)).addClass(i%2==0?"ac_even":"ac_odd").appendTo(list)[0];$.data(li,"ac_data",data[i]);}listItems=list.find("li");if(options.selectFirst){listItems.slice(0,1).addClass(CLASSES.ACTIVE);active=0;}if($.fn.bgiframe)list.bgiframe();}return{display:function(d,q){init();data=d;term=q;fillList();},next:function(){moveSelect(1);},prev:function(){moveSelect(-1);},pageUp:function(){if(active!=0&&active-8<0){moveSelect(-active);}else{moveSelect(-8);}},pageDown:function(){if(active!=listItems.size()-1&&active+8>listItems.size()){moveSelect(listItems.size()-1-active);}else{moveSelect(8);}},hide:function(){element&&element.hide();listItems&&listItems.removeClass(CLASSES.ACTIVE);active=-1;},visible:function(){return element&&element.is(":visible");},current:function(){return this.visible()&&(listItems.filter("."+CLASSES.ACTIVE)[0]||options.selectFirst&&listItems[0]);},show:function(){var offset=$(input).offset();element.css({width:typeof options.width=="string"||options.width>0?options.width:$(input).width(),top:offset.top+input.offsetHeight,left:offset.left}).show();if(options.scroll){list.scrollTop(0);list.css({maxHeight:options.scrollHeight,overflow:'auto'});if($.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var listHeight=0;listItems.each(function(){listHeight+=this.offsetHeight;});var scrollbarsVisible=listHeight>options.scrollHeight;list.css('height',scrollbarsVisible?options.scrollHeight:listHeight);if(!scrollbarsVisible){listItems.width(list.width()-parseInt(listItems.css("padding-left"))-parseInt(listItems.css("padding-right")));}}}},selected:function(){var selected=listItems&&listItems.filter("."+CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);return selected&&selected.length&&$.data(selected[0],"ac_data");},emptyList:function(){list&&list.empty();},unbind:function(){element&&element.remove();}};};$.fn.selection=function(start,end){if(start!==undefined){return this.each(function(){if(this.createTextRange){var selRange=this.createTextRange();if(end===undefined||start==end){selRange.move("character",start);selRange.select();}else{selRange.collapse(true);selRange.moveStart("character",start);selRange.moveEnd("character",end);selRange.select();}}else if(this.setSelectionRange){this.setSelectionRange(start,end);}else if(this.selectionStart){this.selectionStart=start;this.selectionEnd=end;}});}var field=this[0];if(field.createTextRange){var range=document.selection.createRange(),orig=field.value,teststring="<->",textLength=range.text.length;range.text=teststring;var caretAt=field.value.indexOf(teststring);field.value=orig;this.selection(caretAt,caretAt+textLength);return{start:caretAt,end:caretAt+textLength}}else if(field.selectionStart!==undefined){return{start:field.selectionStart,end:field.selectionEnd}}};})(jQuery);
|
@@ -1,96 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Cookie plugin
|
3
|
-
*
|
4
|
-
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
|
5
|
-
* Dual licensed under the MIT and GPL licenses:
|
6
|
-
* http://www.opensource.org/licenses/mit-license.php
|
7
|
-
* http://www.gnu.org/licenses/gpl.html
|
8
|
-
*
|
9
|
-
*/
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Create a cookie with the given name and value and other optional parameters.
|
13
|
-
*
|
14
|
-
* @example $.cookie('the_cookie', 'the_value');
|
15
|
-
* @desc Set the value of a cookie.
|
16
|
-
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
|
17
|
-
* @desc Create a cookie with all available options.
|
18
|
-
* @example $.cookie('the_cookie', 'the_value');
|
19
|
-
* @desc Create a session cookie.
|
20
|
-
* @example $.cookie('the_cookie', null);
|
21
|
-
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
|
22
|
-
* used when the cookie was set.
|
23
|
-
*
|
24
|
-
* @param String name The name of the cookie.
|
25
|
-
* @param String value The value of the cookie.
|
26
|
-
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
|
27
|
-
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
28
|
-
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
29
|
-
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
30
|
-
* when the the browser exits.
|
31
|
-
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
|
32
|
-
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
33
|
-
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
34
|
-
* require a secure protocol (like HTTPS).
|
35
|
-
* @type undefined
|
36
|
-
*
|
37
|
-
* @name $.cookie
|
38
|
-
* @cat Plugins/Cookie
|
39
|
-
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
40
|
-
*/
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Get the value of a cookie with the given name.
|
44
|
-
*
|
45
|
-
* @example $.cookie('the_cookie');
|
46
|
-
* @desc Get the value of a cookie.
|
47
|
-
*
|
48
|
-
* @param String name The name of the cookie.
|
49
|
-
* @return The value of the cookie.
|
50
|
-
* @type String
|
51
|
-
*
|
52
|
-
* @name $.cookie
|
53
|
-
* @cat Plugins/Cookie
|
54
|
-
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
55
|
-
*/
|
56
|
-
jQuery.cookie = function(name, value, options) {
|
57
|
-
if (typeof value != 'undefined') { // name and value given, set cookie
|
58
|
-
options = options || {};
|
59
|
-
if (value === null) {
|
60
|
-
value = '';
|
61
|
-
options.expires = -1;
|
62
|
-
}
|
63
|
-
var expires = '';
|
64
|
-
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
65
|
-
var date;
|
66
|
-
if (typeof options.expires == 'number') {
|
67
|
-
date = new Date();
|
68
|
-
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
|
69
|
-
} else {
|
70
|
-
date = options.expires;
|
71
|
-
}
|
72
|
-
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
|
73
|
-
}
|
74
|
-
// CAUTION: Needed to parenthesize options.path and options.domain
|
75
|
-
// in the following expressions, otherwise they evaluate to undefined
|
76
|
-
// in the packed version for some reason...
|
77
|
-
var path = options.path ? '; path=' + (options.path) : '';
|
78
|
-
var domain = options.domain ? '; domain=' + (options.domain) : '';
|
79
|
-
var secure = options.secure ? '; secure' : '';
|
80
|
-
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
|
81
|
-
} else { // only name given, get cookie
|
82
|
-
var cookieValue = null;
|
83
|
-
if (document.cookie && document.cookie != '') {
|
84
|
-
var cookies = document.cookie.split(';');
|
85
|
-
for (var i = 0; i < cookies.length; i++) {
|
86
|
-
var cookie = jQuery.trim(cookies[i]);
|
87
|
-
// Does this cookie string begin with the name we want?
|
88
|
-
if (cookie.substring(0, name.length + 1) == (name + '=')) {
|
89
|
-
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
|
90
|
-
break;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
return cookieValue;
|
95
|
-
}
|
96
|
-
};
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
jQuery delayed observer - 0.8
|
3
|
-
http://code.google.com/p/jquery-utils/
|
4
|
-
|
5
|
-
(c) Maxime Haineault <haineault@gmail.com>
|
6
|
-
http://haineault.com
|
7
|
-
|
8
|
-
MIT License (http://www.opensource.org/licenses/mit-license.php)
|
9
|
-
|
10
|
-
*/
|
11
|
-
|
12
|
-
(function($){
|
13
|
-
$.extend($.fn, {
|
14
|
-
delayedObserver: function(callback, delay, options){
|
15
|
-
return this.each(function(){
|
16
|
-
var el = $(this);
|
17
|
-
var op = options || {};
|
18
|
-
el.data('oldval', el.val())
|
19
|
-
.data('delay', delay || 0.5)
|
20
|
-
.data('condition', op.condition || function() { return ($(this).data('oldval') == $(this).val()); })
|
21
|
-
.data('callback', callback)
|
22
|
-
[(op.event||'keyup')](function(){
|
23
|
-
if (el.data('condition').apply(el)) { return; }
|
24
|
-
else {
|
25
|
-
if (el.data('timer')) { clearTimeout(el.data('timer')); }
|
26
|
-
el.data('timer', setTimeout(function(){
|
27
|
-
el.data('callback').apply(el);
|
28
|
-
}, el.data('delay') * 1000));
|
29
|
-
el.data('oldval', el.val());
|
30
|
-
}
|
31
|
-
});
|
32
|
-
});
|
33
|
-
}
|
34
|
-
});
|
35
|
-
})(jQuery);
|