gd-sprest 8.1.7 → 8.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,7 +246,8 @@ var _WebPart = /** @class */ (function () {
246
246
  return ribbon_1.Ribbon.PageState.Handlers.isInEditMode;
247
247
  }
248
248
  // Get the form
249
- var form = document.forms[MSOWebPartPageFormName];
249
+ var formName = window["MSOWebPartPageFormName"];
250
+ var form = formName ? document.forms[formName] : null;
250
251
  if (form) {
251
252
  // Get the wiki page mode
252
253
  var wikiPageMode = form._wikiPageMode ? form._wikiPageMode.value : null;
package/build/rest.js CHANGED
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 8.17,
12
+ __ver: 8.19,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,