-
Notifications
You must be signed in to change notification settings - Fork 9
Possible IE9 issue? #144
Comments
Running IE10 in IE9 mode did not reproduce the error, but that's On 21 August 2013 04:08, Mia [email protected] wrote:
Scott Kleinman |
I just sat down with one of our library staff who was having trouble with this exact issue. She's running IE 9 in Windows 7, and I can verify that it behaves in exactly the way that Mia described. |
OK, I know the code that's involved. I'll have a look on Thursday or Friday On 3 September 2013 12:54, Brian Croxall [email protected] wrote:
Scott Kleinman |
This might be a result of the same origin policy on a JQuery.get() request. A possible solution can be found at http://mvcdiary.com/2013/01/16/jquery-ajax-request-not-working-in-ie9/. I'm noting it here as a reminder to be pursued this weekend. |
We're doing a GET request for that? Seems like there should be a simpler way to do it... |
That's what I thought, but Eli and I had a lot of trouble getting this On 9 October 2013 07:20, Rebecca Sutton Koeser [email protected]:
Scott Kleinman |
I took a quick look at this - I think we should be using the placeholder attribute for the default text instead of initial as we currently are ( https://github.com/chnm/serendipomatic/blob/master/smartstash/core/forms.py#L11 ). Unfortunately, it seems that placeholder isn't supported by IE9. However, there are existing solutions to fix that -- here's one that looks like it might be a nice solution (if you do some searching you'll find some other options): http://kamikazemusic.com/quick-tips/jquery-html5-placeholder-fix/ |
Hmmm...I didn't even know about the placeholder attribute, but I see that On 10 October 2013 07:52, Rebecca Sutton Koeser [email protected]:
Scott Kleinman |
I was thinking we could switch to a placeholder and I thought when I looked it up textarea could use it (that seems close to the functionality we want). However, when your comment prodded me to think about it again, I remembered-- we don't really want placeholder functionality, because we do want to actually submit the default text if the user doesn't modify it. Instead of using a GET, we should find a simpler way to make the initial value available to the javascript. Either save it at some point (document load time? when the form is cleared?), or update the django template to store it in a javascript variable. |
Looking more closely, it seems there is a discrepancy between the release The other possibility that I can see is the fact that we have both an On 13 October 2013 17:02, Rebecca Sutton Koeser [email protected]:
Scott Kleinman |
And now I'm looking at the original error report:
It seems to me that the first order of business might be to move the On 13 October 2013 21:27, Scott Kleinman [email protected] wrote:
Scott Kleinman |
I pushed a potential fix to github last night, but the dev server has not On 13 October 2013 21:43, Scott Kleinman [email protected] wrote:
Scott Kleinman |
I noticed there was an error in the travis-ci build last night, and I fixed at least one problem with it. But it looks like something with the automatic deploy is broken - not sure what the "anvil" error is, but I'll see if I can fix it. https://travis-ci.org/chnm/serendipomatic/builds/12506540 Side note: I think I'm the only one currently getting the build notices from travis-ci (it sends an email if the build is broken and then when the first time it passes after being broken). If any one else is interested in getting these emails, let me know and I'll figure out how to add you. |
If it's not too complicated to add me, I'd like to get those, also. |
It doesn't look like the automatic deploy is fixed yet (my commits have not On 17 October 2013 11:27, mfrazer [email protected] wrote:
Scott Kleinman |
I tried an alternate deploy strategy in the travis-ci build, and it looks like it worked. Please test, and let me know if you're still having problems. |
Yes, that worked. As a reminder, in IE9 the default text was not disappearing at the first On 17 October 2013 13:16, Rebecca Sutton Koeser [email protected]:
Scott Kleinman |
Ok. I confirmed on another machine. It definitely looks a little wonky ... however, in looking at your comments above, I can verify that, in dev on IE9 now
(original comment) |
I've created issue #152 for the single column display. @mfrazer, do the textarea and submission button work all right now? On 17 October 2013 13:35, mfrazer [email protected] wrote:
Scott Kleinman |
No, sorry that was poor phrasing on my part in the earlier comment. The Make Some Magic button isn't working. Nothing happens, but a box does appear towards the top of the window...let me get a screen grab for you. |
Does the default text disappear when you click the text area? On 17 October 2013 14:20, mfrazer [email protected] wrote:
Scott Kleinman |
The code is Make some magic! On 17 October 2013 14:25, mfrazer [email protected] wrote:
Scott Kleinman |
I am not in my workroom today (with IE9), but had a colleague test and he verified that the button is working. I will test again before going to production, but I think that last change fixed it. |
Ok. I have verified the functionality again on my machine. However, the change in code broke the styling on the button - in Firefox and IE. The button in Firefox is the same except gray instead of green. In IE, it's a straight up Windows button. Looks to me like the css with the styling for the button is on line 500 of base.css - it's keying off "button" and the new code removes that. |
That's good news. I didn't change the Zotero "Go" button, and I need to On 18 October 2013 07:59, mfrazer [email protected] wrote:
Scott Kleinman |
I was aware of the css issue and didn't bother to fix it until I knew that On 18 October 2013 09:45, mfrazer [email protected] wrote:
Scott Kleinman |
You can leave the issue open and assign it to me. I want to verify it production once it's deployed, then I'll close it. Thanks! |
I have just fixed the css and deleted old code; the changes should deploy to the dev server soon. I've assigned this issue to @mfrazer. |
Verified that make some magic works and text box clears on click. #152 is still an issue, but closing this one. |
As reported in a comment on my blog post http://openobjects.blogspot.co.uk/2013/08/so-we-made-thing-announcing-serendip-o.html?showComment=1376958336884
'I was looking forward to trying this out but apparently it doesn't like me :( At http://serendipomatic.org/ clicking the 'magic' button just clears the text I put in the box. At http://dev-serendipomatic.herokuapp.com the text stays, but clicking the button doesn't do anything. Sad, because I like this idea.
Running IE9 on Windows 7.'
I don't have IE9 or Windows 7 so can't replicate it.
The text was updated successfully, but these errors were encountered: