Преглед изворни кода

#15 - Developer Module Problems.

AntonLV пре 13 година
родитељ
комит
6fb00f2e3f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      studio/js/store.js

+ 2 - 2
studio/js/store.js

@@ -316,7 +316,7 @@ BxDolStudioStore.prototype.changePage = function(sType) {
 		},
 		},
 		function(oData) {
 		function(oData) {
 			if(oData.code != 0) {
 			if(oData.code != 0) {
-				alert(oData.message);
+				$this.showPopup('bx-std-str-popup-browsing', oData.message);
 				return;
 				return;
 			}
 			}
 
 
@@ -348,7 +348,7 @@ BxDolStudioStore.prototype.changePagePaginate = function(oButton, sType, iStart,
 		},
 		},
 		function(oData) {
 		function(oData) {
 			if(oData.code != 0) {
 			if(oData.code != 0) {
-				alert(oData.message);
+				$this.showPopup('bx-std-str-popup-browsing', oData.message);
 				return;
 				return;
 			}
 			}