1

Closed

"Type" is undefined

description

Steps to reproduce:
1. Create document library
2. Add columns:
a. Managed MetaData Column (required, multiple values)
b. Single line text column (not required, force unique
3. Upload document, edit properties, adding metadata
4. Save edits
5. Error - "Type" is undefined.

I imagine that the JS specified in controltemplates/TamTam.SP2010.BatchEdit.ascx should wrap that script in a ExecuteOrDelayUntilScriptLoaded() call (or in the .cs file Page_Init()/OnInit() method(s). Seems like that script is loading before the MicrosoftAjaxWebForms.js, as that seems to be what initializes the window.Type variable.

Using SP2010 Enterprise, with the following:
// Name: MicrosoftAjaxWebForms.js
// Version: 3.5.0.0
// FileVersion: 3.5.30729.4958

Latest BatchEdit .wsp (Dec 2011)

No files are attached

Closed Jan 30 at 5:52 PM by appieschot

comments

wrote Jan 30 at 5:52 PM

Resolved with changeset 13965.

essgeebee wrote Jan 27 at 4:32 PM

That looks like the ticket - still learning the SP API; that's the LoadAfterUI was one I hadn't thought of.

jasond727 wrote Jan 27 at 3:55 PM

Please check out the patch I just uploaded. I was having the same problem and this solved the problem for me.

http://sp2010batchedit.codeplex.com/SourceControl/list/patches