Browse Source

uneeded function deleted

Cubees 7 năm trước cách đây
mục cha
commit
5c12c60872
1 tập tin đã thay đổi với 0 bổ sung14 xóa
  1. 0 14
      Playground/js/pbt.js

+ 0 - 14
Playground/js/pbt.js

@@ -529,18 +529,4 @@ showBJSPGMenu = function() {
     }
 }
 
-var showPBTError = function (errorMessage) {
-    var errorContent =
-        '<div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button>';
-
-    errorContent += errorMessage + '</div>';
-
-    document.getElementById("errorZone").style.display = 'block';
-    document.getElementById("errorZone").innerHTML = errorContent;
-
-    // Close button error
-    document.getElementById("errorZone").querySelector('.close').addEventListener('click', function () {
-        document.getElementById("errorZone").style.display = 'none';
-    });
-}