Closed (fixed)
Project:
Domain
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2013 at 21:39 UTC
Updated:
15 Apr 2017 at 16:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andrewmacpherson commentedThis patch does the following:
Comment #2
agentrickardYes please. Can we get a review or two?
Comment #3
justanothermark commentedThe patch looks good except when the 'Domain selection format' (bottom of admin/structure/domain/settings) is set to select list rather than checkboxes.
I'm not sure if passing the value through Drupal.settings is the best way to handle this but the attached patch works whether checkboxes or a select list are used so should help us get to a final patch.
Comment #4
andrewmacpherson commentedThanks Mark, I'll have a more detailed look at this tonight.
Comment #6
agentrickardCommitted.
Comment #8
sepapp2 commentedIf a user does not have access to all domains, and is not given the permission level to "Set domain access status for all content" then edit pages are giving the error message "Cannot read property 'fieldType' of undefined in relation to this line:
var fieldTypeSelector = (Drupal.settings.domain.fieldType == 0) ? ':checked' : ':selected';If you give the user that permission level the vertical tab renders out without an error, but it gives them access to all domains and not just what they are assigned too.
Comment #9
agentrickard