Skip to content
Permalink
Browse files

LPS-90335 SF

  • Loading branch information
p2kmgcl authored and brianchandotcom committed Feb 20, 2019
1 parent 023a2cd commit 61fb5d52b465068e40a38d15801fcc27f62dd6e0
@@ -188,7 +188,7 @@
delegateHandler.removeListener();

Liferay.detach('destroyPortlet', onDestroyPortlet);
}
};

Liferay.on('destroyPortlet', onDestroyPortlet);
}
@@ -407,7 +407,7 @@ List<AssetRendererFactory<?>> classTypesAssetRendererFactories = new ArrayList()
if (subtypeFieldsFilterEnabledInput) {
Array.prototype.forEach.call(
assetSubtypefieldsPopupButtons,
function (assetSubtypefieldsPopupButton){
function(assetSubtypefieldsPopupButton) {
Util.toggleDisabled(assetSubtypefieldsPopupButton, !subtypeFieldsFilterEnabledInput.checked);
}
);
@@ -504,7 +504,7 @@ List<AssetRendererFactory<?>> classTypesAssetRendererFactories = new ArrayList()
classNameIds: Util.listSelect(Util.getFormElement(form, 'currentClassNameIds'))
}
}
)
);
}
);
}
@@ -16,7 +16,12 @@
{@param? queryLogicIndexes: string}

<div id="{$id}">
<input name="{$namespace}queryLogicIndexes" value="{$queryLogicIndexes}" type="hidden">
<input
name="{$namespace}queryLogicIndexes"
type="hidden"
value="{$queryLogicIndexes}"
>

<ul class="timeline">
<li class="timeline-item">
<div class="flex-container panel-body">
@@ -57,7 +62,11 @@

<div class="addbutton-timeline-item">
<div class="add-condition timeline-increment-icon">
<button data-onclick="addRule_" class="btn btn-monospaced btn-primary btn-xs form-builder-timeline-add-item form-builder-rule-add-condition" type="button">
<button
class="btn btn-monospaced btn-primary btn-xs form-builder-timeline-add-item form-builder-rule-add-condition"
data-onclick="addRule_"
type="button"
>
<svg class="icon-monospaced lexicon-icon">
<use xlink:href="{$pathThemeImages}/lexicon/icons.svg#plus"></use>
</svg>
@@ -101,7 +110,13 @@
</div>

<div class="form-group">
<select class="form-control asset-query-name" data-item-index="{$index}" data-onchange="changeSelector_" id="{$namespace + 'queryName' + $index}" name="{$namespace + 'queryName' + $index}">
<select
class="form-control asset-query-name"
data-item-index="{$index}"
data-onchange="changeSelector_"
id="{$namespace + 'queryName' + $index}"
name="{$namespace + 'queryName' + $index}"
>
<option class="" {if $rule.type == 'assetCategories'}selected="selected"{/if} value="assetCategories">{msg desc=""}categories{/msg}</option>
<option class="" {if $rule.type == 'assetTags'}selected="selected"{/if} value="assetTags">{msg desc=""}tags{/msg}</option>
</select>
@@ -149,8 +164,13 @@
{@param ruleId: int}

<div class="container-trash">
<button class="btn btn-monospaced btn-link btn-xs condition-card-delete" data-rule-id="{$ruleId}" data-onclick="deleteRule_" type="button">
<svg class="lexicon-icon icon-monospaced">
<button
class="btn btn-link btn-monospaced btn-xs condition-card-delete"
data-onclick="deleteRule_"
data-rule-id="{$ruleId}"
type="button"
>
<svg class="icon-monospaced lexicon-icon">
<use xlink:href="{$pathThemeImages}/lexicon/icons.svg#trash"></use>
</svg>
</button>
@@ -8,6 +8,11 @@
{@param? namespace: string}

<div id="{$namespace}assetCategoriesSelector{$index}">
<input name="{$namespace}queryCategoryIds{$index}" id="{$namespace}queryCategoryIds{$index}" ref="hiddenInput" type="hidden" />
<input
name="{$namespace}queryCategoryIds{$index}"
id="{$namespace}queryCategoryIds{$index}"
type="hidden"
ref="hiddenInput"
/>
</div>
{/template}
@@ -9,7 +9,20 @@
{@param? namespace: string}

<div id="{$namespace}assetTagsSelector{$index}">
<input name="{$namespace}queryTagNames{$index}" id="{$namespace}queryTagNames{$index}" ref="hiddenInput" type="hidden" />
<input class="form-control lfr-tag-selector-input" id="{$index}assetTagName" ref="tagInput" size="15" title="{msg desc=""}add-tags{/msg}" type="text" />
<input
id="{$namespace}queryTagNames{$index}"
name="{$namespace}queryTagNames{$index}"
ref="hiddenInput"
type="hidden"
/>

<input
class="form-control lfr-tag-selector-input"
id="{$index}assetTagName"
ref="tagInput"
size="15"
title="{msg desc=""}add-tags{/msg}"
type="text"
/>
</div>
{/template}

0 comments on commit 61fb5d5

Please sign in to comment.
You can’t perform that action at this time.