The Core JavaScript Framework or "CoreJS" is a client-side JavaScript library which provides tools for creating object-oriented and event-driven JavaScript code.

learn more… | top users | synonyms

0
votes
0answers
15 views

How to override core.js function when ondemand=true?

I'm working on fixing a SP 2010 bug involving fly-out menus and IE10 in standards mode. To make the fix, I need to override the MergeAttributes function in core.js. I have created a custom js file ...
2
votes
0answers
11 views

Determine when a boolean function has changed from true to false [closed]

I have a Print button on a web page that opens a PDF in a new window. I have function, lets call it pWindowNeeded this holds a boolean value. function pWindowNeeded() { if ( newPWindowNeeded == 'Y') ...
1
vote
1answer
123 views

Opening ECB resets custom href of list items

Once a page finishes loading, I use JQuery to change the href of every item based on some custom validation. So far so good but my problem is that opening the ECB will reset the href of that item. I ...
3
votes
1answer
339 views

JavaScript Validation in ECB for out-of-the-box menu items

Is it possible to add some kind of JavaScript validation to ECB items like Edit Item, Check Out and Workflows? What I want is a simple JavaScript alert and redirect to the list if the clicked item ...
1
vote
1answer
202 views

Search problem - JavaScript SubmitSearchRedirect - WSS 3.0

I am trying to search using the default search control from sharepoint. <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"> <SharePoint:DelegateControl runat="server" ...
1
vote
2answers
1k views

(Sandbox solution) Ensure my javascript file is loaded after core.js

Using a CustomAction in the location of a scriptlink, I'm inserting a javascript code, however I need this code to run after core.js runs. Does anyone know how I can achieve this? My CustomAction ...
0
votes
1answer
187 views

Where to find a complete list of document action functions in JS

I'm tasked with taking an inventory of all document action functions in core.js Is there a list somewhere online that provides a list of all user options from a document list menu? [If I can get it ...
3
votes
3answers
1k views

Errors after removing core.js

I am building a master page for a public facing website, and I have removed core.js for better performance. The issue is that I am now getting a bunch of errors because functions are absent. This ...
1
vote
1answer
692 views

Where can I find the permission details for the HasRights javascript call in core.js?

I am writing JavaScript that will show a menu item for the document ECB menu in a SharePoint document library. I want to only show the item if the current user has the ability to edit the item. It ...