adding author/category in news stories
-
semias
short update...
It is also an issue in adding categories within SiteFAQ.
-
semias
- State changed from new to open
- Milestone set to 5.0.4
- Assigned user changed from lux to semias
- Milestone order changed from 0 to 0
-
semias
- Milestone changed from 5.0.4 to 5.0.5
- Milestone order changed from 3 to 0
-
semias
- State changed from open to resolved
The problem was an old reference to a prototype object in the new jQuery function. The prototype new Effect.BlindDown was replaced with jQuery slideDown, but the obj.element should be replaced by this to point to the DOM element in js/prompt.js.
OLD:
$('#prompt-dialog-' + this.num).slideDown ('normal', function () { n = obj.element.id.split ('-')[2]; document.getElementById ('prompt-window-' + n + '-user').style.overflow = 'auto'; document.getElementById ('prompt-window-' + n + '-user').focus (); });NEW:
$('#prompt-dialog-' + this.num).slideDown ('normal', function () { n = this.id.split ('-')[2]; // semias edit: 'this' points to DOM element instead of 'obj.element' document.getElementById ('prompt-window-' + n + '-user').style.overflow = 'auto'; document.getElementById ('prompt-window-' + n + '-user').focus (); }); -
semias
- Milestone cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.