Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Aymkdn/SharepointPlus
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymkdn committed Dec 14, 2013
2 parents 6a99838 + fdd0efe commit 8a90eac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions old_versions/sharepointplus-3.0.6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3195,11 +3195,11 @@ _SP_CACHE_FORMFIELDS=null;
if (fieldName === "Content Type") { // the Content Type field is different !
if (selectorSupported) obj._elements = document.querySelector('.ms-formbody select[title="Content Type"]');
else {
for (var a=document.getElementsByTagName('td'),aa=0; aa<a.length; aa++) {
if (a[aa].className.indexOf("ms-formbody") > -1) {
for (var alltd=document.getElementsByTagName('td'),aa=0; aa<alltd.length; aa++) {
if (alltd[aa].className.indexOf("ms-formbody") > -1) {
for (var b=document.getElementsByTagName("select"),bb=0; bb<b.length; bb++) {
if (b[bb].title === "Content Type") {
aa=a.length;
aa=alltd.length;
obj._elements = b[bb];
break;
}
Expand Down Expand Up @@ -3924,4 +3924,4 @@ _SP_CACHE_FORMFIELDS=null;

return window.$SP = window.SharepointPlus = SharepointPlus;

})(window);
})(window);
2 changes: 1 addition & 1 deletion old_versions/sharepointplus-3.0.6.min.js

Large diffs are not rendered by default.

0 comments on commit 8a90eac

Please sign in to comment.