The title says it all really. Is there a way to disable being able to clickon for a specific itoggle widget inside of a views table? So for example a user can turn something off but not on again.

Comments

7wonders’s picture

I ended up doing this with some custom js:

var $my_view = $('.view-my-view', context);
if ($my_view) {
  setTimeout(function () {
    $t.find('label.iToff').unbind('click').css('cursor', 'default').find('span').css('cursor', 'default').click(function () {
       return false});
            }, 100);
          }
7wonders’s picture

Status: Active » Closed (fixed)