parent
ef4700eafc
commit
d53566c034
@ -275,7 +275,14 @@ function listUniqSorted (list) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function templateUrl (tplName) {
|
function templateUrl (tplName) {
|
||||||
return 'partials/' + (Config.Mobile ? 'mobile' : 'desktop') + '/' + tplName + '.html';
|
var forceLayout = {
|
||||||
|
confirm_modal: 'desktop',
|
||||||
|
error_modal: 'desktop',
|
||||||
|
media_modal_layout: 'desktop',
|
||||||
|
slider: 'desktop',
|
||||||
|
};
|
||||||
|
var layout = forceLayout[tplName] || (Config.Mobile ? 'mobile' : 'desktop');
|
||||||
|
return 'partials/' + layout + '/' + tplName + '.html';
|
||||||
}
|
}
|
||||||
|
|
||||||
function encodeEntities(value) {
|
function encodeEntities(value) {
|
||||||
|
@ -66,7 +66,7 @@ Stack: {{error.originalError.stack || error.stack}}</textarea>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="md_simple_modal_footer">
|
<div class="md_simple_modal_footer">
|
||||||
<button class="btn btn-md" ng-click="$dismiss()">
|
<button class="btn btn-md btn-md-primary" ng-click="$dismiss()">
|
||||||
<span my-i18n="modal_ok"></span>
|
<span my-i18n="modal_ok"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../desktop/confirm_modal.html
|
|
@ -1 +0,0 @@
|
|||||||
../desktop/error_modal.html
|
|
@ -1 +0,0 @@
|
|||||||
../desktop/media_modal_layout.html
|
|
@ -1 +0,0 @@
|
|||||||
../desktop/slider.html
|
|
Loading…
Reference in New Issue
Block a user