Skip to content

Commit

Permalink
Update ekathuwa-modal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sarath2 committed Apr 9, 2015
1 parent 31f0daf commit a3c9b7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/services/ekathuwa-modal.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* ekathuwa
* @version v0.3.0 - 2015-03-26
* @version v0.3.1 - 2015-04-09
* @link https://github.com/sarath2/ngEkathuwa
* @author Sarath Ambegoda <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -73,7 +73,7 @@
if (op.templateURL !== null && op.templateURL !== '') {
t = '<div ' + (op.headerDraggable ? 'draggable=""' : '') + c + ' id="' + op.id + '" data-ng-include="\'' + op.templateURL + '\'" onload="ekathuaLoaded()"></div>';
} else {
var a = '<div ' + (op.headerDraggable ? 'draggable=""' : '') + c + ' id="' + op.id + '">';
var a = '<div ' + c + ' id="' + op.id + '">';
if (op.templateHTML !== null && op.templateHTML !== '') {
t = a + op.templateHTML + '</div>';
} else {
Expand Down Expand Up @@ -104,7 +104,7 @@
f = '<div class="modal-footer ' + op.footerClass + '"><button data-ng-if="' + op.footerCloseBtn + '" data-dismiss="modal" class="btn btn-default" type="button">' + op.footerCloseBtnText + '</button><button data-ng-if="' + op.footerSaveBtn + '" class="btn btn-primary" type="button">' + op.footerSaveBtnText + '</button></div>';
}
}
t = a + '<div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" class="modal fade" id="myModal" style="display: none;"><div class="modal-dialog"><div class="modal-content">' + h + b + f + '</div></div></div></div>';
t = a + '<div ' + (op.headerDraggable ? 'draggable=""' : '') + ' aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" class="modal fade" id="myModal" style="display: none;"><div class="modal-dialog"><div class="modal-content">' + h + b + f + '</div></div></div></div>';
}
}
if (op.contentStyle !== null && op.contentStyle !== '') {
Expand Down

0 comments on commit a3c9b7a

Please sign in to comment.