Compiled assets, minor docblock update
This commit is contained in:
parent
2dcd84c4f2
commit
064daa2d2e
|
|
@ -165,6 +165,7 @@ class AuthManager extends RainAuthManager
|
|||
/**
|
||||
* Returns an array of registered permissions belonging to a given role code
|
||||
* @param string $role
|
||||
* @param bool $includeOrphans
|
||||
* @return array
|
||||
*/
|
||||
public function listPermissionsForRole($role, $includeOrphans = true)
|
||||
|
|
|
|||
|
|
@ -4253,7 +4253,11 @@ this.triggerCondition=this.options.triggerCondition
|
|||
if(this.options.triggerCondition.indexOf('value')==0){var match=this.options.triggerCondition.match(/[^[\]]+(?=])/g)
|
||||
this.triggerCondition='value'
|
||||
this.triggerConditionValue=(match)?match:[""]}
|
||||
this.triggerParent=this.options.triggerClosestParent!==undefined?$el.closest(this.options.triggerClosestParent):undefined
|
||||
this.triggerParent=undefined
|
||||
if(this.options.triggerClosestParent!==undefined){var closestParentElements=this.options.triggerClosestParent.split(',')
|
||||
for(var i=0;i<closestParentElements.length;i++){var $triggerElement=$el.closest(closestParentElements[i])
|
||||
if($triggerElement.length){this.triggerParent=$triggerElement
|
||||
break}}}
|
||||
if(this.triggerCondition=='checked'||this.triggerCondition=='unchecked'||this.triggerCondition=='value'){$(document).on('change',this.options.trigger,$.proxy(this.onConditionChanged,this))}
|
||||
var self=this
|
||||
$el.on('oc.triggerOn.update',function(e){e.stopPropagation()
|
||||
|
|
|
|||
Loading…
Reference in New Issue