Fixed inventory sync status dialog to use jqueryui dialog- making it draggable and resizable.

This commit is contained in:
Chris Houseknecht
2014-02-04 16:59:19 +00:00
parent 6c2b8358a0
commit 5cb6c22fc8
5 changed files with 135 additions and 76 deletions

View File

@@ -517,7 +517,9 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies', 'Utilities'])
if (field.type == 'alertblock') {
html += "<div class=\"row\">\n";
html += "<div class=\"col-lg-8 col-lg-offset-2\">\n";
html += "<div class=\"";
html += (options.modal || options.id) ? "col-lg-12" : "col-lg-8 col-lg-offset-2";
html += "\">\n";
html += "<div class=\"alert";
html += (field.closeable == undefined || field.closeable == true) ? " alert-dismissable" : "";
html += (field['class']) ? " " + field['class'] : "";