Hot answers tagged

21

Might have a slight flicker, but my solution will keep the scroll position of Chrome after you click on calendar icon (better than not having an answer since 2013 ^_^). At the bottom of your aspx page, add following script: function OnIframeLoadFinish() { ULSvmd: ; var picker; if (typeof this.Picker != 'undefined') picker = this....


6

I just wrote up a blogpost with the answer: http://kwizcom.blogspot.ca/2018/05/sharepoint-2013-date-picker-scrolls.html But here are the details: The problem occures in the setFocusDatepicker function, like igby said - but didn't mention how we solve it from our current page if we have no code running in an iframe. Also - the answer by Quang San Hi rely ...


5

The problem is coming from setFocusDatepicker in datepicker.js. The method is calling focus inside calendar iframe which at the end scrolls the window. To make it work you can try to override the method, provided by MS which looks like this: function setFocusDatepicker(elm) { if (elm.onfocus == null) { if (browseris.ie) elm.onfocus = function() {...


5

Just under a year ago Google removed the NPAPI plugin from its Chrome browser. Since this change one is no longer able to do a number of things with the Chrome browser in SharePoint. It could be that your Chrome had not been updated for some time and the recent update has taken your browser to a version that has the NPAPI plugin removed. Up until recently ...


4

I copied your code in my IDE (and could not spot an obvious single error) You have to learn/do: Use a decent Javascript IDE that has a syntax checker. Your code has so many flaws it is impossible to list them all. Visual Studio Code is free: https://code.visualstudio.com/ split your code, Your .success function has 338 lines of code, that makes it ...


4

Safari / Firefox considered as Level 2 browsers for SharePoint 2007. Level 2 Web browsers provide basic functionality so that users can both read and write in SharePoint sites and perform site administration. However, ActiveX controls are supported only in level 1 browsers. It is advisable to use IE browser for SharePoint 2007. You can refer this link ...


4

Someone suggested the MomentJS library, which is great for doing Date calculations and transformations. But 2015/10/20 PM 06:09 is an invalid Date notation so MomemtJS won't make it valid either. I would suggest to find the cause why your environment is outputting this invalid notation and fix it at the source. In the mean time you can change the string ...


3

The answer I have found is that Chrome prevents hyperlinks from working in the Word web app unless you have the IETab extension installed in Chrome (and you are using it).


3

IE makes use of a Web Datasheet Component (I believe via an ActiveX control), but Chrome uses "extensions" which are not supported at the moment. Refer to this article: http://veroniquepalmer.wordpress.com/2012/02/06/sharepoint-2010-compatibility-with-google-chrome/


3

In fact , this issue has a more reason and should be traced physically , meanwhile, I have checked your attached screenshot and I found out your Project Server Application pool that running with the service account psServiceAppPool has been stopped , so try to restart it again . Also, make sure that the Project Server Application Service has been started in ...


2

SharePoint Rich Text editor is only supported in IE browser, thus they wont work as a RTE in Chrome or Firefox, rather they can work as a simple text editor. Here is the link to the Source - SharePoint Rich Text Editor not working in Firefox and Chrome


2

The plugin allows you to have a better experience with Microsoft SharePoint Typical file path: C:\Program Files\microsoft office 15\root\office15\npspwrap.dll Mozilla plugins Microsoft SharePoint Plug-in for Firefox Google Chrome plugins Stored per user in the directory 'Google\Chrome\User Data\Default\Preferences' Name: 'NPSPWRAP.DLL' NPSPWRAP.dll is ...


2

This is the way Chrome handles file downloads. Google decided that rather than allowing applications to automatically open files downloaded through Chrome, the files must be downloaded to your local machine. There is, unfortunately, no workaround for this. If you want to automatically open files from Sharepoint to be worked in and saved back up to SP within ...


2

We had the same issue and we learn that google is opting out from silverlight and they are disabled the silverlight plugin support in chrome. Their is still a workaround which you can use till end of 2015.to enable the silverlight in chrome follow these instructions: install the Silverlight component on PC. Enter chrome://flags/#enable-npapi into your ...


2

OOTB, SharePoint only opens in browser which is set as default. However, if this customization is absolutely necessary,you can develop a server side web part in which you can generate a link.Clicking on which will execute Chrome.exe process and open the link in browser. Code snippet to call Chrome.exe would be as follows: System.Diagnostics.Process.Start("...


2

Use of NPAPI plugins are disabled in Chrome since 1 Sep 2015, please read more here. https://support.google.com/chrome/answer/6213033?hl=en Not sure how to get it enabled, i thought a flag would be there to enable it back, but its not available. only PPAPI plugins can be enabled. Similarly for Firefox as well, they have changed the way they support from '...


2

Chrome does not respond to enter key because this event is associate to the href attribute, so I put my javascript inside the href //Datepicker jquery ui function ImproveDateTextBoxs() { $("img[id*=DatePickerImage]").closest(".ms-dtinput").remove(); $(".ms-dtinput input[id$='Date']").each(function () { ...


2

I just experienced this issue as well. What I found was that somehow the default mail application (for opening mailto links) on my computer had changed. Try going to Settings > System > Default Apps and under Email, make sure the correct application is chosen. For me, the default had somehow been changed to Chrome, which is why the links weren't working. ...


2

Pull the loadCss function out of the render() call or call it only the first time using this.renderedOnce, e.g.: public render(): void { if (this.renderedOnce === false) { CPComponentLoader.loadCss('https://use.fontawesome.com/releases/v5.0.6/css/all.cs'); } var fbVar = (this.properties.showFb) ? styles.show: styles.hide; var tVar = (this.properties....


1

Okay, so I found the answer.. in case somebody wants to know: When I put the condition I did it the wrong way in first instance, I was putting the condition OUTSIDE the function OnIframeLoadFinish(), but the code works when putting the condition INSIDE the function: function OnIframeLoadFinish() { if (!!window.chrome) { ULSvmd: ; ...


1

You can't anymore because Chrome has become more tight on security a couple of months ago (self-redirection exploit) and won't let a script close the window. https://stackoverflow.com/questions/19761241/window-close-and-self-close-do-not-close-the-window-in-chrome Has all the details


1

It seems related to a reported bug, Page scrolls unnecessarily when focusing on input in iframe near bottom of screen, in Chrome. The bug is reported in SharePoint > SharePoint 2013 - General Discussions and Questions SharePoint page scrolls to top when I enter something in people picker .


1

JavaScript between <script> tags inside an .ascx file will show up in the .aspx page that loads the control. In your example you'll be able to step through the code by selecting FinAff_demo_Page_Clay.aspx. I would generally recommend linking to an external JS file though, so that you can do typical stuff like transpile, minify etc.


1

OpenInClient feature doesn't do anything for you if you use Chrome. The document is still downloaded when you try to open it.


1

Set the OpenInClient feature for a document library or site collection as mentioned here


1

Please try the same operation with a recent version of Internet Explorer. According to the Browser Support sheet, Internet Explorer is better validated to support everything SharePoint has to offer: Supported Internet Explorer versions: The product group makes every effort to validate that SharePoint functionality works correctly with released ...


1

I figured out the error was (as the error states) a value being passed into the setStart and setEnd functions of the Range "class" that was out of range. (Not the RTE.Range "class") The signature takes two parameters, a DOM object and an integer value. In my case the value 2 was over the bounds of range. Without spending much time, I wasn't able to figure ...


1

This is causing because of browser issues. Try to change the browser and see if you are able to reproduce this issue. This link suggests the issue is with SharePoint and IE11


1

In Chrome the code was exectued before the load of the DOM. I used this to solve my problem: <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script> $(document).ready(function(){ ExecuteOrDelayUntilScriptLoaded(myFunc, "sp.js"); }); function myFunc(){ $("#inplaceSearchDiv_WPQ2").append("<p>...


1

I think this is related to an issue in the v4 masterpage. Try this fix and hopefully it makes things work better. I thought this issue was resolved in a SharePoint service pack, so I would also make sure you are patched up.


Only top voted, non community-wiki answers of a minimum length are eligible