U4-502 - TextString/TextBox multiple don't accept polish Ś character

Created by Sebastiaan Janssen 19 Aug 2012, 14:53:36 Updated by Sebastiaan Janssen 08 Sep 2013, 19:30:12

Fields type of TextString and TextBox multiple don't allow to enter polish s an acute accent (both small and big Ś are blocked) - other polish specyfic letter are accepted. As I've checked, the problem is web browser independent.

From the other side - tinyMCE accept Ś.

Problem is probably connected with a Ś generating method - blocked is key combination: rigth ALT+s / right ALT + SHIFT + s. Pasting character from clipboard works!

I use Umbraco 4.7.1.

''Originally created on CodePlex by [TomBe|http://www.codeplex.com/site/users/view/TomBe]'' on 12/1/2011 3:22:39 PM [Codeplex ID: 30625 - Codeplex Votes: 1]

Imported comments

''Comment by [TomBe|http://www.codeplex.com/site/users/view/TomBe] on 12/5/2011 11:00:20 AM:'' Reason of the problem in localized in file umbracoCheckKeys.js in line 74-75:

if (keycode == 83) doSubmit();

Calling doSubmit() fails because of reference error exception

After surrouding it with try catch - :

if (keycode == 83) try { doSubmit(); } catch (e)

''Comment by [TomBe|http://www.codeplex.com/site/users/view/TomBe] on 12/5/2011 11:03:54 AM:'' ... entering characters: ś/Ś start working.

''Comment by [TomBe|http://www.codeplex.com/site/users/view/TomBe] on 12/5/2011 11:37:28 AM:'' The second area which swallow ALT+S event is umbracoCheckKeys.js from line no 34:

function shortcutCheckKeysPressFirefox(e) { if (ctrlDown && keycode == 83) e.preventDefault(); }

It seems that ctrlDown flag is true for ALT+S key pressed (?) - modifying above code to:

function shortcutCheckKeysPressFirefox(e) { if (ctrlDown && keycode == 83 && !e.altKey) e.preventDefault(); }

is enough to make me happy :)

Comments

Sebastiaan Janssen 08 Sep 2013, 19:30:08

Fixed in rev 58ba7d2d6db509dd98c0725bc99ff9c712aa078a


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Inline code

Affected versions:

Due in version: 6.2.0

Sprint:

Story Points:

Cycle: