Due to the way that BlockUI applies it's styling it is necessary to extend this module to allow admin form control over the CSS property of the default options passed to the jQuery BlockUI plugin.

This patch provides that functionality as an admin field allowing for JSON input that can override the default settings in both this module and the BlockUI plugin.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nijk created an issue. See original summary.

nijk’s picture

Title: Admin support for BlokckUI CSS option » Admin support for BlockUI CSS option
FileSize
4.6 KB

  • eugene.ilyin committed 89de4ec on 7.x-1.x
    Issue #2769921 by nijk: Admin support for BlockUI CSS option
    
eugene.ilyin’s picture

I don't like this way. It's pretty tricky, unclear and not convenient for the user. I don't understand who will use it? Site builder with knowledge of CSS and JS who is not able to overwrite the JS file in Drupal?

But yes, sometimes would be nice to change some options.
I changed the code a bit. Now you can overwrite function ajaxScreenLock.blockUI or whole file ajax_screen_lock.js (through hook js alter).

eugene.ilyin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.