Skip to content
Snippets Groups Projects
Commit 830678a4 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix

parent fd255714
Branches
Tags
No related merge requests found
......@@ -260,7 +260,7 @@ var jModulePrototype = $($.parseHTML(
data = $.parseJSON(data);
if(data.success === true) {
var place = $('.moduleList').children('.moduleGroup').last();
if ($.isEmptyObject(place).length > 0)
if (place.length > 0)
place.after(GetModuleTmp());
else {
$('div.moduleList').prepend(GetModuleTmp());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment