"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/extension/frontend/client/widget/htmleditor/CheckinPopup.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

CheckinPopup.java  (OpenKM-document-management-system-6.3.10):CheckinPopup.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 30 skipping to change at line 30
*/ */
package com.openkm.extension.frontend.client.widget.htmleditor; package com.openkm.extension.frontend.client.widget.htmleditor;
import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.*; import com.google.gwt.user.client.ui.*;
import com.openkm.frontend.client.Main; import com.openkm.frontend.client.Main;
import com.openkm.frontend.client.extension.comunicator.FileBrowserComunicator; import com.openkm.frontend.client.extension.comunicator.FileBrowserCommunicator;
import com.openkm.frontend.client.extension.comunicator.GeneralComunicator; import com.openkm.frontend.client.extension.comunicator.GeneralComunicator;
import com.openkm.frontend.client.service.OKMDocumentService; import com.openkm.frontend.client.service.OKMDocumentService;
import com.openkm.frontend.client.service.OKMDocumentServiceAsync; import com.openkm.frontend.client.service.OKMDocumentServiceAsync;
import com.openkm.frontend.client.util.Util; import com.openkm.frontend.client.util.Util;
import com.openkm.frontend.client.widget.notify.NotifyPanel; import com.openkm.frontend.client.widget.notify.NotifyPanel;
/** /**
* CheckinPopup * CheckinPopup
* *
* @author jllort * @author jllort
skipping to change at line 207 skipping to change at line 207
increaseVersion = 1; increaseVersion = 1;
} else if (increaseMinorVersion.getValue( )) { } else if (increaseMinorVersion.getValue( )) {
increaseVersion = 2; increaseVersion = 2;
} }
HTMLEditor.get().status.setSetHTML(); HTMLEditor.get().status.setSetHTML();
documentService.setHTMLContent(docPath, m ails, users, roles, messageToSend, HTMLEditor.get().getTexteAreaText(), documentService.setHTMLContent(docPath, m ails, users, roles, messageToSend, HTMLEditor.get().getTexteAreaText(),
versionComment.getText(), increaseVersion, new AsyncCallback<String>() { versionComment.getText(), increaseVersion, new AsyncCallback<String>() {
@Override @Override
public void onSuc cess(String result) { public void onSuc cess(String result) {
hide(); hide();
FileBrows erComunicator.refreshOnlyFileBrowser(); FileBrows erCommunicator.refreshOnlyFileBrowser();
Main.get( ).mainPanel.dashboard.userDashboard.getUserLastModifiedDocuments(); Main.get( ).mainPanel.dashboard.userDashboard.getUserLastModifiedDocuments();
Main.get( ).mainPanel.dashboard.userDashboard.getUserCheckedOutDocuments(); Main.get( ).mainPanel.dashboard.userDashboard.getUserCheckedOutDocuments();
HTMLEdito r.get().status.unsetSetHTML(); HTMLEdito r.get().status.unsetSetHTML();
} }
@Override @Override
public void onFai lure(Throwable caught) { public void onFai lure(Throwable caught) {
HTMLEdito r.get().status.unsetSetHTML(); HTMLEdito r.get().status.unsetSetHTML();
GeneralCo municator.showError("setHTMLContent", caught); GeneralCo municator.showError("setHTMLContent", caught);
} }
skipping to change at line 286 skipping to change at line 286
} }
/** /**
* enableNotifyExternalUsers * enableNotifyExternalUsers
*/ */
public void enableNotifyExternalUsers() { public void enableNotifyExternalUsers() {
notifyPanel.enableNotifyExternalUsers(); notifyPanel.enableNotifyExternalUsers();
} }
/** /**
* lanfRefresh * langRefresh
*/ */
public void langRefresh() { public void langRefresh() {
setText(GeneralComunicator.i18n("fileupload.label.update")); setText(GeneralComunicator.i18n("fileupload.label.update"));
increaseMajorVersion.setHTML(Main.i18n("fileupload.increment.majo r.version")); increaseMajorVersion.setHTML(Main.i18n("fileupload.increment.majo r.version"));
increaseMinorVersion.setHTML(Main.i18n("fileupload.increment.mino r.version")); increaseMinorVersion.setHTML(Main.i18n("fileupload.increment.mino r.version"));
closeButton.setText(GeneralComunicator.i18n("fileupload.button.cl ose")); closeButton.setText(GeneralComunicator.i18n("fileupload.button.cl ose"));
sendButton.setText(GeneralComunicator.i18n("fileupload.button.sen d")); sendButton.setText(GeneralComunicator.i18n("fileupload.button.sen d"));
commentTXT.setHTML(GeneralComunicator.i18n("fileupload.label.noti fy.comment")); commentTXT.setHTML(GeneralComunicator.i18n("fileupload.label.noti fy.comment"));
versionCommentText.setHTML(GeneralComunicator.i18n("fileupload.la bel.comment")); versionCommentText.setHTML(GeneralComunicator.i18n("fileupload.la bel.comment"));
notifyToUserText.setHTML(GeneralComunicator.i18n("fileupload.labe l.users.notify")); notifyToUserText.setHTML(GeneralComunicator.i18n("fileupload.labe l.users.notify"));
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)