Changeset 1845141
- Timestamp:
- 03/22/2018 03:25:41 PM (8 years ago)
- Location:
- playbuzz
- Files:
-
- 2 deleted
- 4 edited
-
tags/1.0.10 (deleted)
-
tags/1.0.11 (deleted)
-
tags/1.0.8/js/story-creator/pb-story-creator-controller.js (modified) (1 diff)
-
tags/1.0.8/js/story-creator/pb-story-creator-model.js (modified) (4 diffs)
-
trunk/playbuzz.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
playbuzz/tags/1.0.8/js/story-creator/pb-story-creator-controller.js
r1845104 r1845141 46 46 47 47 //_this.model.savePost(sender.wp).then(_this.postSuccessHandler.bind(_this), _this.errorHandler.bind(_this)); 48 _this.model.previewPost(sender.wp).then(_this. refreshCreator.bind(_this), _this.errorHandler.bind(_this));48 _this.model.previewPost(sender.wp).then(_this.postSuccessHandler.bind(_this), _this.errorHandler.bind(_this)); 49 49 50 50 }); -
playbuzz/tags/1.0.8/js/story-creator/pb-story-creator-model.js
r1845104 r1845141 45 45 * 3. perform given action (save/ publish) via wordpress 46 46 * @param action 47 * @param wpOriginalElement47 * @param actionOnWP 48 48 * @returns {Promise} 49 49 */ 50 PbStoryCreatorModel.prototype.performAction = function (action, wpOriginalElement, paramsToAction) {50 PbStoryCreatorModel.prototype.performAction = function (action, actionOnWP, paramsToAction) { 51 51 52 52 var _this = this; … … 71 71 .then(function (res) { 72 72 73 wpOriginalElement.click();73 actionOnWP.click(); 74 74 deferred.resolve(res); 75 75 }) … … 107 107 PbStoryCreatorModel.prototype.savePost = function (saveButton) { 108 108 109 return this.performAction(this.pbCreator. publish, saveButton);109 return this.performAction(this.pbCreator.save, saveButton); 110 110 111 111 }; … … 120 120 var redirect = true; 121 121 122 return this.performAction(this.pbCreator. publish, previewButton, redirect);122 return this.performAction(this.pbCreator.save , previewButton, redirect); 123 123 124 124 }; -
playbuzz/trunk/playbuzz.php
r1845127 r1845141 4 4 Plugin URI: https://www.playbuzz.com/ 5 5 Description: Embed customized playful content from Playbuzz.com into your WordPress site 6 Version: 1.0. 116 Version: 1.0.8 7 7 Author: Playbuzz 8 8 Author URI: https://www.playbuzz.com/ -
playbuzz/trunk/readme.txt
r1845127 r1845141 4 4 Requires at least: 3.9 5 5 Tested up to: 4.7.1 6 Stable tag: 1.0. 116 Stable tag: 1.0.8 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 113 113 == Changelog == 114 114 115 = 1.0. 11(2018-03-19) =115 = 1.0.8 (2018-03-19) = 116 116 * Bug fix - save draft didn't work without refreshing 117 117
Note: See TracChangeset
for help on using the changeset viewer.