Changeset 16627
- Timestamp:
- 2007/10/30 21:03:19 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/user_data/templates/default/js/ownersstore.js.php
r16610 r16627 96 96 var errcode = resp.errcode || ''; 97 97 98 var TB_WIDTH = 700;99 var TB_HEIGHT = 400;98 var TB_WIDTH = 400; 99 var TB_HEIGHT = 300; 100 100 var ajaxContentW = TB_WIDTH - 20; 101 101 var ajaxContentH = TB_HEIGHT - 45; … … 144 144 products_list: function() { 145 145 this.show_loading(); 146 var show = this.show_result; 146 147 var remove = this.remove; 148 $().ajaxError(this.show_result); 147 149 $.post( 148 150 upgrade_url, 149 151 {mode: 'products_list'}, 150 152 function(resp, status) { 151 remove(); 152 $('#ownersstore_products_list').html(resp.body); 153 if (resp.status == 'ERROR') { 154 show(resp, status); 155 } else { 156 remove(); 157 $('#ownersstore_products_list').html(resp.body); 158 } 153 159 }, 154 160 'json'
Note: See TracChangeset
for help on using the changeset viewer.