CMS MADE SIMPLE FORGE

LISE

 

[#11271] Adds a wrapper div when calling a summary template in the backend

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sun Jan 15 12:11:20 -0500 2017

Assigned To: Fernando Morgado (JoMorg)
Version: 1.2.3
CMSMS Version: 2.1.6
Severity: Trivial
Resolution: Accepted
State: Open
Summary:
Adds a wrapper div when calling a summary template in the backend
Detailed Description:
If you're using LISE in the backend for whatever reason, it wraps it in <div
class="lise-admin-wrapper"></div>.

This causes a problem if you're using it for a specific purpose, like generating
dropdown <options>.

Workaround:
{cms_module|replace:'<div class="lise-admin-wrapper">':''|replace:'</div>':''
module='LISEinstance'}


History

Comments
avatar
Date: 2017-07-14 09:42
Posted By: Fernando Morgado (JoMorg)

This has to do with how LISE handles AJAX requests on the backend, so it is
generated when a backend request is detected. I'll look into a better mechanism
for LISE 2.0 as whatever the module has atm seems a bit clumsy.
      
Updates

Updated: 2017-07-14 09:42
resolution_id: => 6
assigned_to_id: 100 => 12532