-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline editing tools break when composite files are turned on #3999
Comments
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
This issue has been closed automatically due to inactivity (as mentioned 14 days ago). Feel free to re-open the issue if you believe it is still relevant. |
Reopen please - this is still an issue. Thanks |
Same issue here on DNN 9.9.0, please reopen! Message from browser console:
|
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
Bump! |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
might be still an issue |
Yes this is still an issue in 9.10.1. Thanks |
Same issue here - 9.8.1 |
no answers, workarounds or updates in over 2 years? I'm on DNN 9.11.1 and still an issue. |
@QuintinHumphreys DNN is an open source project supported 100% by volunteers. We do our best, sadly some of these items for less-used features in specific configurations aren't the most popular items to address. |
no problems, i understand. in case anyone else is experiencing this issue, a quick workaround to the issue is to create a file in the root of your website called
|
@QuintinHumphreys This is great, let us see if we can figure out how to fix that specific path |
I dont know if you found the issue about this bug. The error is because this function dnn.dom.getScriptPath() get path according to where is located file "/js/dnn.js", so, this will return correct path if file is included in <script> tags. When you enable composite files, this <script src="/js/dnn.js"> tag doesn´t exist so function dnn.dom.getScriptPath() returns empty, so any file using that function will retrieve bad root. As a quick patch i have added this script into my skin <script src="/js/dnn.js" type="text/javascript"></script>With this Im avoiding composite files, so when some part of the site calls dnn.dom.getScriptPath() function, this retrieves the correct scripts path. |
Thanks for the detective work @ufoloko! It looks like that |
Description of bug
Admin users are unable to edit module titles and html inline on pages once you turn on composite files with css and js minification.
Steps to reproduce
List the precise steps to reproduce the bug:
Current behavior
No inline edit options appear on page.
Expected behavior
Inline edit options should appear on page when in edit mode.
Screenshots
no edit options ^
edit options are back ^
Error information
js:1 GET http://dnndev.me/dnn.controls.dnntoolbar.js net::ERR_ABORTED 404 (Not Found)
load @ js:1
reload @ js:1
(anonymous) @ ScriptResource.axd?d=NJmAwtEo3Iom9WbGssqM6-DJCNmo93xOc4N0RsIRrIhYEPH02vdOCuGu89kXln6NuzKgmqczps6vzSMrNoDE4aJhHBIScz7NXwRL_hCXvPTMtfCsALHdt8QYtRZVnDIZsFCD8Q2&t=2a797f5c:5
complete @ js:1
(anonymous) @ ScriptResource.axd?d=NJmAwtEo3Iom9WbGssqM6-DJCNmo93xOc4N0RsIRrIhYEPH02vdOCuGu89kXln6NuzKgmqczps6vzSMrNoDE4aJhHBIScz7NXwRL_hCXvPTMtfCsALHdt8QYtRZVnDIZsFCD8Q2&t=2a797f5c:5
setTimeout (async)
doDelay @ js:1
load @ js:1
loadScript @ js:1
initToolbar @ js:225
showToolBar @ js:225
(anonymous) @ ScriptResource.axd?d=NJmAwtEo3Iom9WbGssqM6-DJCNmo93xOc4N0RsIRrIhYEPH02vdOCuGu89kXln6NuzKgmqczps6vzSMrNoDE4aJhHBIScz7NXwRL_hCXvPTMtfCsALHdt8QYtRZVnDIZsFCD8Q2&t=2a797f5c:5
b @ ScriptResource.axd?d=NJmAwtEo3Iom9WbGssqM6-DJCNmo93xOc4N0RsIRrIhYEPH02vdOCuGu89kXln6NuzKgmqczps6vzSMrNoDE4aJhHBIScz7NXwRL_hCXvPTMtfCsALHdt8QYtRZVnDIZsFCD8Q2&t=2a797f5c:5
Affected version
Affected browser
The text was updated successfully, but these errors were encountered: