src/value-added/SPComplexToSimpleDropdown.js
Function SPComplexToSimpleDropdown
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.SPServices.SPComplexToSimpleDropdown = function (options) {
var opt = $.extend({}, {
listName: $().SPServices.SPListNameFromUrl(), // The list the form is working with. This is useful if the form is not in the list context.
columnName: "", // The display name of the column in the form