Provide smoke.js library -- framework-agnostic styled alert system for javascript.

Feature

  • Replace drupal ajax error alert with smoke.alert.
  • Replace drupal ajax command alert with smoke.alert.
  • New ajax command ajax_command_smoke_signal to provide smoke.signal in ajax callback.

Requirements

Installation

  1. Get the smoke.js Library

    • Via Git

      $ cd sites/SITENAME/libraries
      $ git clone https://github.com/hxgf/smoke.js.git
    • Download

  2. Enable Smoke.js Module

    $ drush en smokejs

    Or enable via administration page admin/modules.

  3. Configure Smoke.js Module

    Visit configuration page admin/config/user-interface/smokejs.

Project information

Downloads