We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3219678 commit 84c2023Copy full SHA for 84c2023
index.php
@@ -20,7 +20,7 @@
20
*
21
* @var string
22
*/
23
-define('MPG_APP_VERSION', '0.9.4');
+define('MPG_APP_VERSION', '0.9.5');
24
25
/**
26
* Development mode?
static/js/mpg.js
@@ -257,7 +257,13 @@ MPG.eventListeners.addCollections = function() {
257
'/ajax/database/' + MPG.databaseName + '/collection/'
258
+ MPG.collectionName + '/enumFields',
259
function(response) {
260
- MPG.collectionFields = JSON.parse(response);
+
261
+ JSON.parse(response).forEach(function(collectionField) {
262
+ if ( typeof collectionField === 'string' ) {
263
+ MPG.collectionFields.push(collectionField);
264
+ }
265
+ });
266
267
},
268
null
269
);
0 commit comments