From e2c3abcbe24f85d1744a1fdeb29912176834e803 Mon Sep 17 00:00:00 2001 From: Sid Yadav Date: Thu, 12 Feb 2015 10:07:18 -0500 Subject: [PATCH] Fix model updating -- oops --- angular-redactor-filepicker.js | 3 ++- bower.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/angular-redactor-filepicker.js b/angular-redactor-filepicker.js index 4ddb307..be55b64 100644 --- a/angular-redactor-filepicker.js +++ b/angular-redactor-filepicker.js @@ -186,8 +186,9 @@ RedactorPlugins.filepicker = function() { }); }, options = { + changeCallback: updateModel, plugins: ['filepicker', 'fullscreen'], - buttons: ['html', 'formatting', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule'] + buttons: ['html', 'bold', 'italic', 'deleted', 'outdent', 'indent', 'image', 'file', 'link', 'alignment', 'horizontalrule'] }, additionalOptions = attrs.redactor ? scope.$eval(attrs.redactor) : {}, diff --git a/bower.json b/bower.json index fbc2c1a..41bd8eb 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "angular-redactor-filepicker", "main": "angular-redactor-filepicker.js", - "version": "1.7.0", + "version": "1.8.0", "homepage": "https://github.com/UseFedora/angular-redactor", "authors": [ "Tyler Garlick ",