3238870-refactored-parse-html
3 open threads
3 open threads
Closes #3238870
Merge request reports
Activity
added 109 commits
-
9e52c69b...f0dfe7d4 - 108 commits from branch
project:11.x
- 284b2ce5 - Added initial commit for refactor
-
9e52c69b...f0dfe7d4 - 108 commits from branch
added 1 commit
- db395f09 - Refactor (if feasible) use of jquery parseHTML function to use vanillaJS
- Resolved by Shubham kumar
- Resolved by Shubham kumar
- Resolved by Shubham kumar
added 210 commits
-
db395f09...c41bea2d - 208 commits from branch
project:11.x
- df887ed6 - Added initial commit for refactor
- 2350526a - Acknowlege the feedback
-
db395f09...c41bea2d - 208 commits from branch
added 77 commits
-
60338a4b...f45c7bd1 - 71 commits from branch
project:11.x
- cdef0b53 - Added initial commit for refactor
- 71eeae8c - Refactor (if feasible) use of jquery parseHTML function to use vanillaJS
- 2e3d0b4a - fix conflicts
- dad7307f - Feedback changes
- 76042370 - Added keepscript to false
- 53970bd1 - Added keepscript to false
Toggle commit list-
60338a4b...f45c7bd1 - 71 commits from branch
1333 1333 const settings = response.settings || ajax.settings || drupalSettings; 1334 1334 1335 1335 // Parse response.data into an element collection. 1336 let $newContent = $($.parseHTML(response.data, document, true)); 1336 const parseHTML = (htmlString, context, keepScripts) => { changed this line in version 9 of the diff
1333 1333 const settings = response.settings || ajax.settings || drupalSettings; 1334 1334 1335 1335 // Parse response.data into an element collection. 1336 let $newContent = $($.parseHTML(response.data, document, true)); 1336 const parseHTML = (htmlString, context, keepScripts) => { 1337 const fragment = context.createDocumentFragment(); changed this line in version 9 of the diff
1334 1334 1335 1335 // Parse response.data into an element collection. 1336 let $newContent = $($.parseHTML(response.data, document, true)); 1336 const parseHTML = (htmlString, context, keepScripts) => { 1337 const fragment = context.createDocumentFragment(); 1338 // Create a temporary div element 1339 const tempDiv = fragment.appendChild(document.createElement('div')); 1340 1341 // Set the innerHTML of the div to the provided HTML string 1342 tempDiv.innerHTML = htmlString; 1343 1344 // Return the contents of the temporary div 1345 return tempDiv.childNodes; 1346 }; 1347 1348 let $newContent = $(parseHTML(response.data, document, false)); changed this line in version 9 of the diff
added 283 commits
-
53970bd1...81ff548f - 276 commits from branch
project:11.x
- ecee9ff3 - Added initial commit for refactor
- dd16ffb3 - Refactor (if feasible) use of jquery parseHTML function to use vanillaJS
- 5e75f276 - fix conflicts
- 0e0e0ea5 - Feedback changes
- 24515b64 - Added keepscript to false
- 65dd2edb - Added keepscript to false
- 9ea77731 - updated suggestions
Toggle commit list-
53970bd1...81ff548f - 276 commits from branch
Please register or sign in to reply