User tests: Successful: Unsuccessful:
Pull Request for Issue #8428 .
This simple PR removes the confusing styles input in the insert module modal editor-xtd button that can be found in the toolbar when editing content.
It is given priority by being at the top of the screen and yet it is a very rare use case that you would want to override the style already set in the module.
If absolutely needed a user can still set a style by adding it to the generated syntax in the content item itself
| Category | ⇒ | Administration Components |
| Status | New | ⇒ | Pending |
| Labels |
Added:
?
|
||
So line 30 to 41:
moduleIns = function(type, name) {
var extraVal ,fieldExtra = jQuery("#extra_class");
window.parent.jInsertEditorText("{loadmodule " + type + "}", "' . $editor . '");
window.parent.jModalClose();
};
modulePosIns = function(position) {
var extraVal ,fieldExtra = jQuery("#extra_class");
window.parent.jInsertEditorText("{loadposition " + position + "}", "' . $editor . '");
window.parent.jModalClose();
};I have tested this item
oops also var extraVal ,fieldExtra = jQuery("#extra_class"); is useless in both places
can you do a PR against my branch?
sure: brianteeman#3
Thanks I have merged that change
I have tested this item
I have tested this item
Hi, May be displaying it in search tools?
| Status | Pending | ⇒ | Ready to Commit |
RTC thanks for testing
| Labels |
Added:
?
|
||
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-13 17:44:30 |
| Closed_By | ⇒ | rdeutz |
| Labels |
Removed:
?
|
||
@brianteeman I think that there is some javascript that will be useless now and should be also removed. I like this!?