smalos / nubuilder_dev

Found empty functions JS-0057
Anti-pattern
Minor
3 occurrences in this check
Unexpected empty function 'nuOnPromptClose'.
5497  }
5498}
5499
5500function nuOnPromptClose (val, ok) {5501}5502
5503function nuPrompt (text, caption, defaultValue, format, fctn) {
5504  if ($('#nupromptmodal').length == 0) {
Unexpected empty function.
4944    }
4945
4946    if ((nuIsMacintosh() ? e.metaKey : e.ctrlKey) == false) {
4947      nuSelectBrowse = function (e, t) { } 						// -- so that it doesn't run twice.4948    }
4949  }
4950}
Unexpected empty function.
4929    const ro = window.nuFORM.getProperty('redirect_other_form_id')
4930
4931    if (formType == 'browse' && ro == '' && parent.$('#nuDragDialog').length == 0) {
4932      nuSelectBrowse = function (e, t) { }4933      return
4934    }
4935