To participate you must create an account on apostrophenow.org. If you have already done so, click Login.
Changeset 1110
- Timestamp:
- 04/30/10 16:17:46 (22 months ago)
- Author:
- johnnyoffline
- Message:
-
blog.js tweak
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1109
|
r1110
|
|
| 134 | 134 | // $('#a-blog-post-status-indicator').ajaxStart(function(){ |
| 135 | 135 | // $(this).show(); |
| 136 | | // }) |
| | 136 | // }); |
| 137 | 137 | // $('#a-blog-post-status-indicator').ajaxStop(function(){ |
| 138 | 138 | // $(this).hide(); |
| 139 | | // }) |
| | 139 | // }); |
| 140 | 140 | |
| 141 | 141 | $.ajax({ |
| … |
… |
|
| 160 | 160 | }; |
| 161 | 161 | |
| 162 | | // if ( the Comments has changed ) { |
| 163 | | updateComments(data.aBlogPost.allow_comments); // Update Comments after ajax |
| 164 | | // }; |
| | 162 | if ( typeof(data.modified.allow_comments) != "undefined" ) { |
| | 163 | updateComments(data.aBlogPost.allow_comments); // Update Comments after ajax |
| | 164 | }; |
| 165 | 165 | |
| 166 | 166 | checkAndSetPublish(data.aBlogPost.status, slug_url); // Re-set Publish button after ajax |
Download in other formats: