Skip to content
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

Remove onclick #703

Merged
merged 10 commits into from
May 19, 2012
Merged

Remove onclick #703

merged 10 commits into from
May 19, 2012

Conversation

cweider
Copy link
Contributor

@cweider cweider commented May 13, 2012

Shifts event handling into from onclick attributes into pad_editbar. Addresses concerns from #504.

See also: #529

padding: 4px 1px
}
}
@media only screen and (min-device-width: 320px) and (max-device-width: 720px) {
.toolbar ul li.separator {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now we have two .seperator's here
(l. 1527)


.toolbar ul.menu_right > li & .toolbar ul li have to be converted too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right, missed those additions – fixed.

@JohnMcLear
Copy link
Member

Will try to test this today

@JohnMcLear
Copy link
Member

@0ip can you test styling stuff please? Looks fine to me, some minor changes but none offend me.

I'm unable to test IE due to a script error!

Other than that this seems fine to me from quick first testing. It would be nice to test IE tho ;\

@0ip
Copy link
Member

0ip commented May 13, 2012

!? I posted a few comments on that above yours. hehe
Mobile view is quite broken. But I can "fix" that afterwards, this needs to be more dynamic anyway.

@JohnMcLear
Copy link
Member

Okay cool, will see if @cweider can sort the IE bug too, I'd be much more comfortable pulling this after testing IE

@cweider
Copy link
Contributor Author

cweider commented May 13, 2012

@johnyma22, the IE error seems to be a part of develop… sigh. @0ip, the mobile layout should be compatible now.

@0ip
Copy link
Member

0ip commented May 14, 2012

Do we still need <a>?
Wouldn't be

<li id="bold" data-key="bold" title="Bold (ctrl-B)">
    <span class="buttonicon buttonicon-bold"></span>
</li>

sufficient?

4b272fe is broken because you shifted .toolbar ul li styling to .toolbar ul li a - that way .selected @ <li> has no effect.
Either we drop <a> or we have to add $("#" + modules[i] + "link a") in pad_editbar.js. Better solutions are welcome :)

@cweider
Copy link
Contributor Author

cweider commented May 14, 2012

This should fix it? That would be more correct since the <a> is the link. The anchor is (possibly) important for tabbing behavior, but (personally) would be nicer as a <button>. I’m actually wondering if the ul > li construction for the menu is actually appropriate now, but that’s a discussion for later…

Unrelated: the .selected styles needs looking into, it strikes me as far to general. We should probably consider increasing its specificity to .toolbar .selected or something.

@JohnMcLear
Copy link
Member

@cweider any luck w/ the IE bug yet?

@cweider
Copy link
Contributor Author

cweider commented May 15, 2012

The resetting of document.domain added 4325f0b is what is causing the permission denied issues – @redhog.

@0ip
Copy link
Member

0ip commented May 17, 2012

Your revised version looks good to me - can you add it?

@cweider
Copy link
Contributor Author

cweider commented May 19, 2012

Added

@0ip
Copy link
Member

0ip commented May 19, 2012

Tested with IE7, works.

JohnMcLear added a commit that referenced this pull request May 19, 2012
@JohnMcLear JohnMcLear merged commit 53bfc38 into ether:develop May 19, 2012
@JohnMcLear
Copy link
Member

Running latest develop on beta.etherpad.org

@JohnMcLear
Copy link
Member

http://beta.etherpad.org/p/lQa36WufrI <- spot the obvious issues w/ plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants