|
|
@ -59,8 +59,11 @@ define([
|
|
|
|
exp.defaultTitle = md.defaultTitle;
|
|
|
|
exp.defaultTitle = md.defaultTitle;
|
|
|
|
exp.title = md.title;
|
|
|
|
exp.title = md.title;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
metadataMgr.onTitleChange(function (title) {
|
|
|
|
metadataMgr.onTitleChange(function (title, defaultTitle) {
|
|
|
|
sframeChan.query('Q_SET_PAD_TITLE_IN_DRIVE', title, function (err) {
|
|
|
|
sframeChan.query('Q_SET_PAD_TITLE_IN_DRIVE', {
|
|
|
|
|
|
|
|
title: title,
|
|
|
|
|
|
|
|
defaultTitle: defaultTitle
|
|
|
|
|
|
|
|
}, function (err) {
|
|
|
|
if (err === 'E_OVER_LIMIT') {
|
|
|
|
if (err === 'E_OVER_LIMIT') {
|
|
|
|
return void UI.alert(Messages.pinLimitNotPinned, null, true);
|
|
|
|
return void UI.alert(Messages.pinLimitNotPinned, null, true);
|
|
|
|
} else if (err) { return; }
|
|
|
|
} else if (err) { return; }
|
|
|
|