This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clientContext = null; | |
function createTestDocumentSet() { | |
if(clientContext === null) { | |
return false; | |
} | |
var item = null; | |
var oList = clientContext.get_web().get_lists().getByTitle('Library Name'); | |
clientContext.load(oList); | |
var itemCreateInfo = new SP.ListItemCreationInformation(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(module,$) { | |
"use strict"; | |
window.pd = window.pd || {}; | |
pd.MeetingsViewModel = function() { | |
/* observable state */ | |
this.FilterTextIm = ko.observable(''); | |
this.FilterText = ko.computed(this.FilterTextIm) | |
.extend({ throttle: 400 }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/fontello.css" runat="server" /> | |
<!--[if IE 7]> | |
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/fontello-ie7.css" runat="server" /> | |
<![endif]--> | |
<!-- Lib CSS --> | |
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/cdtm-main.css" runat="server" /> | |
<!-- Lib JS --> | |
<script type="text/javascript" src="../SiteAssets/sgm-meetings/scripts/knockout-3.1.0.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CLEARFIX */ | |
.cdtm-wrapper .row:before, | |
.cdtm-wrapper .row:after { | |
content: ""; | |
display: table; | |
} | |
.cdtm-wrapper .row:after { | |
clear: both; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(module,$) { | |
"use strict"; | |
window.pd = window.pd || {}; | |
pd.FilterLibraryViewModel = function() { | |
/* observable state */ | |
this.FilterTextIm = ko.observable(''), | |
this.FilterText = ko.computed(this.FilterTextIm) | |
.extend({ throttle: 400 }), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/fontello.css" runat="server" /> | |
<!--[if IE 7]> | |
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/fontello-ie7.css" runat="server" /> | |
<![endif]--> | |
<!-- App CSS --> | |
<link rel="stylesheet" type="text/css" href="../SiteAssets/sgm-meetings/css/cdtm-main.css" runat="server" /> | |
<!-- Lib JS --> | |
<script type="text/javascript" src="../SiteAssets/sgm-meetings/scripts/knockout-3.1.0.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CLEARFIX */ | |
.cdtm-wrapper .row:before, | |
.cdtm-wrapper .row:after { | |
content: ""; | |
display: table; | |
} | |
.cdtm-wrapper .row:after { | |
clear: both; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function EnsureListFolderTree($web, $list, $folderName) { | |
$curl = $list.RootFolder.ServerRelativeUrl | |
$folders = $folderName.Replace("^/+","").Split("/") | |
ForEach($fn in $folders) { | |
$furl = $curl + "/" + $fn | |
$f = $web.GetFolder($furl) | |
if ($f.Exists -eq $false) { | |
$f = $list.AddItem($curl, [Microsoft.SharePoint.SPFileSystemObjectType]::Folder, $fn) | |
$f.Update() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
"use strict"; | |
function checkSPWebResource(url, async) { | |
var | |
endpoint = url.match(/^http[s]?:\/\//i) || url.match("^"+_spPageContextInfo.webServerRelativeUrl) | |
? url | |
: _spPageContextInfo.webServerRelativeUrl.replace(/\/$/g,'') | |
+ '/' + url.replace(/^\//g,''), | |
p = $.Deferred(); |
OlderNewer